com.jme3.util
Class TangentBinormalGenerator
java.lang.Object
com.jme3.util.TangentBinormalGenerator
public class TangentBinormalGenerator
- extends java.lang.Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TangentBinormalGenerator
public TangentBinormalGenerator()
generate
public static void generate(Mesh mesh)
generate
public static void generate(Spatial scene)
generate
public static void generate(Mesh mesh,
boolean approxTangents)
processTriangle
public static TangentBinormalGenerator.TriangleData processTriangle(int[] index,
Vector3f[] v,
Vector2f[] t)
setToleranceAngle
public static void setToleranceAngle(float angle)
genTbnLines
public static Mesh genTbnLines(Mesh mesh,
float scale)
genNormalLines
public static Mesh genNormalLines(Mesh mesh,
float scale)