Skip to content

Commit 32d37ef

Browse files
committed
Fix
1 parent 3f17956 commit 32d37ef

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

jme3-examples/src/main/java/jme3test/light/TestTangentGenBadUV.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@
4242
import com.jme3.scene.Geometry;
4343
import com.jme3.scene.Spatial;
4444
import com.jme3.scene.shape.Sphere;
45+
import com.jme3.util.TangentUtils;
4546
import com.jme3.util.mikktspace.MikktspaceTangentGenerator;
4647

4748
public class TestTangentGenBadUV extends SimpleApplication {
@@ -71,7 +72,7 @@ public void simpleInitApp() {
7172

7273
Geometry debug = new Geometry(
7374
"Debug Teapot",
74-
MikktspaceTangentGenerator.genTbnLines(((Geometry) teapot).getMesh(), 0.03f)
75+
TangentUtils.genTbnLines(((Geometry) teapot).getMesh(), 0.03f)
7576
);
7677
Material debugMat = assetManager.loadMaterial("Common/Materials/VertexColor.j3m");
7778
debug.setMaterial(debugMat);

0 commit comments

Comments
 (0)