Updated to match new version of JME.
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@62 ed5b42cb-e716-0410-a449-f6a68f950b19
This commit is contained in:
@@ -264,7 +264,7 @@ public class CameraHandler
|
|||||||
}
|
}
|
||||||
|
|
||||||
// create a rotation matrix
|
// create a rotation matrix
|
||||||
_rotm.fromAxisAngle(axis, deltaAngle);
|
_rotm.fromAngleAxis(deltaAngle, axis);
|
||||||
|
|
||||||
// rotate the direction vector and the camera itself
|
// rotate the direction vector and the camera itself
|
||||||
_rotm.mult(direction, direction);
|
_rotm.mult(direction, direction);
|
||||||
|
|||||||
Reference in New Issue
Block a user