- Fixed normal vector incorrect in Mesh.getTriangle() (Thanks Kaelgaga)
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8147 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
This commit is contained in:
parent
028f9d86f6
commit
7929111a3a
@ -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…
x
Reference in New Issue
Block a user