Update of /cvsroot/bprocessor/gl/src/net/sourceforge/bprocessor/gl/tool
In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv25339/src/net/sourceforge/bprocessor/gl/tool
Modified Files:
OrbitStrategy.java
Log Message:
To change the roll the turn direction cannot be taken into account because it is the turn that are changed
Index: OrbitStrategy.java
===================================================================
RCS file: /cvsroot/bprocessor/gl/src/net/sourceforge/bprocessor/gl/tool/OrbitStrategy.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** OrbitStrategy.java 7 Sep 2006 11:38:41 -0000 1.2
--- OrbitStrategy.java 31 Oct 2006 13:30:30 -0000 1.3
***************
*** 82,86 ****
if (e.isShiftDown()) {
// roll camera
! Camera.rollCamera(c, turn * (-angleY - angleX) / 2);
} else if (e.isAltDown()) {
// rotate camera about itself
--- 82,86 ----
if (e.isShiftDown()) {
// roll camera
! Camera.rollCamera(c, (angleY + angleX) / 2);
} else if (e.isAltDown()) {
// rotate camera about itself
|