This was due to a bug in the code where triangle data were stored after calculation.
This commit is contained in:
Nehon 2015-07-11 21:15:42 +02:00
parent 57dd2748e2
commit 95d5fdf9c5

View File

@ -612,9 +612,9 @@ public class TangentBinormalGenerator {
normal.normalizeLocal();
return new TriangleData(
tangent,
binormal,
normal);
tangent.clone(),
binormal.clone(),
normal.clone());
} finally {
tmp.release();
}