We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3f17956 commit 32d37efCopy full SHA for 32d37ef
jme3-examples/src/main/java/jme3test/light/TestTangentGenBadUV.java
@@ -42,6 +42,7 @@
42
import com.jme3.scene.Geometry;
43
import com.jme3.scene.Spatial;
44
import com.jme3.scene.shape.Sphere;
45
+import com.jme3.util.TangentUtils;
46
import com.jme3.util.mikktspace.MikktspaceTangentGenerator;
47
48
public class TestTangentGenBadUV extends SimpleApplication {
@@ -71,7 +72,7 @@ public void simpleInitApp() {
71
72
73
Geometry debug = new Geometry(
74
"Debug Teapot",
- MikktspaceTangentGenerator.genTbnLines(((Geometry) teapot).getMesh(), 0.03f)
75
+ TangentUtils.genTbnLines(((Geometry) teapot).getMesh(), 0.03f)
76
);
77
Material debugMat = assetManager.loadMaterial("Common/Materials/VertexColor.j3m");
78
debug.setMaterial(debugMat);
0 commit comments