Package com.jme3.util
Class TangentBinormalGenerator
java.lang.Object
com.jme3.util.TangentBinormalGenerator
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
Keeps track of tangent, binormal, and normal for one triangle. -
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
static void
static void
static void
static void
static void
generateParallel
(Spatial scene, ExecutorService executor) static Mesh
genNormalLines
(Mesh mesh, float scale) static Mesh
genTbnLines
(Mesh mesh, float scale) processTriangle
(int[] index, Vector3f[] v, Vector2f[] t) static void
setToleranceAngle
(float angle)
-
Field Details
-
debug
public static boolean debug
-
-
Method Details
-
generate
-
generate
-
generate
-
generateParallel
-
generate
-
generate
-
processTriangle
public static TangentBinormalGenerator.TriangleData processTriangle(int[] index, Vector3f[] v, Vector2f[] t) -
setToleranceAngle
public static void setToleranceAngle(float angle) -
genTbnLines
-
genNormalLines
-