Correction du déplacement de l'axe indiquant la direction de la caméra.
This commit is contained in:
parent
da80887bee
commit
d7cfbccd75
2
view.cpp
2
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
|
||||
|
|
Loading…
Reference in New Issue
Block a user