commit d7cfbccd750e69d7146d3b8cb51918196d4a8dac
parent da80887bee39f533d4ad24052fff158546947570
Author: Yoann <yoann.b87@voila.fr>
Date: Mon, 28 Nov 2011 19:09:33 +0100
Correction du déplacement de l'axe indiquant la direction de la caméra.
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/view.cpp b/view.cpp
@@ -64,7 +64,7 @@ void View::displayAxes() {
glVertex3f(0.0f, 0.0f, 2500.0f); // ending point of the line
glEnd( );
- Vertex dest = Vertex::fromSpherical(100, xAngle, yAngle);
+ Vertex dest = Vertex::fromSpherical(100, yAngle, xAngle);
glBegin(GL_LINES);
glColor3ub(255,0,255);
glVertex3f(0.0f, 0.0f, 0.0f); // origin of the line