Commit 616a15744ecf09378a8ad38f72f204573cb6c57e

patrick 2003-04-06T21:56:04

Fixed a bug where the trackball rotation was applied after translation.

1
2
3
4
5
6
7
8
9
10
11
12
13
14
diff --git a/demo/FTGLDemo.cpp b/demo/FTGLDemo.cpp
index 4314d7d..19af4a1 100644
--- a/demo/FTGLDemo.cpp
+++ b/demo/FTGLDemo.cpp
@@ -353,8 +353,8 @@ void display(void)
 		case FTGL_POLYGON:
 		case FTGL_EXTRUDE:
 		case FTGL_TEXTURE:
-			tbMatrix();
          glTranslatef(OX,OY,0);
+			tbMatrix();
 			break;
 	}