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