From e373d160d9ef68b503f4f4fc1088d7367fd792c0 Mon Sep 17 00:00:00 2001 From: "rem..om" Date: Mon, 8 Jul 2013 05:37:23 +0000 Subject: [PATCH] - put back previous API for TangentBinormalGenerator generate method git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10699 75d07b2b-3a1a-0410-a2c5-0572b91ccdca --- engine/src/core/com/jme3/util/TangentBinormalGenerator.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/engine/src/core/com/jme3/util/TangentBinormalGenerator.java b/engine/src/core/com/jme3/util/TangentBinormalGenerator.java index f1e176616..36d2e4a8c 100644 --- a/engine/src/core/com/jme3/util/TangentBinormalGenerator.java +++ b/engine/src/core/com/jme3/util/TangentBinormalGenerator.java @@ -201,6 +201,10 @@ public class TangentBinormalGenerator { } } + public static void generate(Mesh mesh, boolean approxTangents) { + generate(mesh, approxTangents, false); + } + private static List processTriangles(Mesh mesh, int[] index, Vector3f[] v, Vector2f[] t, boolean splitMirrored) { IndexBuffer indexBuffer = mesh.getIndexBuffer();