This was due to a bug in the code where triangle data were stored after calculation.
This commit is contained in:
@@ -612,9 +612,9 @@ public class TangentBinormalGenerator {
|
||||
normal.normalizeLocal();
|
||||
|
||||
return new TriangleData(
|
||||
tangent,
|
||||
binormal,
|
||||
normal);
|
||||
tangent.clone(),
|
||||
binormal.clone(),
|
||||
normal.clone());
|
||||
} finally {
|
||||
tmp.release();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user