aboutsummaryrefslogtreecommitdiffstats
path: root/trunk
diff options
context:
space:
mode:
Diffstat (limited to 'trunk')
-rw-r--r--trunk/ardor3d-math/src/main/java/com/ardor3d/math/Matrix3.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/trunk/ardor3d-math/src/main/java/com/ardor3d/math/Matrix3.java b/trunk/ardor3d-math/src/main/java/com/ardor3d/math/Matrix3.java
index 678000e..a13ddc4 100644
--- a/trunk/ardor3d-math/src/main/java/com/ardor3d/math/Matrix3.java
+++ b/trunk/ardor3d-math/src/main/java/com/ardor3d/math/Matrix3.java
@@ -1625,7 +1625,7 @@ public class Matrix3 implements Cloneable, Savable, Externalizable, ReadOnlyMatr
final Vector3 yAxis = Vector3.fetchTempInstance();
final Vector3 zAxis = Vector3.fetchTempInstance();
direction.normalize(zAxis);
- up.normalize(xAxis).crossLocal(zAxis);
+ up.normalize(xAxis).crossLocal(zAxis).normalizeLocal();
zAxis.cross(xAxis, yAxis);
fromAxes(xAxis, yAxis, zAxis);