- Fixed normal vector incorrect in Mesh.getTriangle() (Thanks Kaelgaga)

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8147 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
3.0
Sha..om 14 years ago
parent 028f9d86f6
commit 7929111a3a
  1. 1
      engine/src/core/com/jme3/scene/Mesh.java

@ -778,6 +778,7 @@ public class Mesh implements Savable, Cloneable {
public void getTriangle(int index, Triangle tri){
getTriangle(index, tri.get1(), tri.get2(), tri.get3());
tri.setIndex(index);
tri.setNormal(null);
}
/**

Loading…
Cancel
Save