Don't rotate our scrolling vectors unless we're orbiting the camera.

git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3541 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
Michael Bayne
2005-05-04 02:21:53 +00:00
parent 4aa4419c9c
commit 8dec58c227
@@ -234,8 +234,10 @@ public class GodViewHandler extends InputHandler
_rotm.mult(_camera.getUp(), _camera.getUp());
_rotm.mult(_camera.getLeft(), _camera.getLeft());
_rotm.mult(_camera.getDirection(), _camera.getDirection());
_rotm.mult(_rxdir, _rxdir);
_rotm.mult(_rydir, _rydir);
if (around == _groundNormal) {
_rotm.mult(_rxdir, _rxdir);
_rotm.mult(_rydir, _rydir);
}
// and move the camera to its new location
_camera.setLocation(center.add(direction));