From d7cfbccd750e69d7146d3b8cb51918196d4a8dac Mon Sep 17 00:00:00 2001 From: Yoann Date: Mon, 28 Nov 2011 19:09:33 +0100 Subject: [PATCH] =?UTF-8?q?Correction=20du=20d=C3=A9placement=20de=20l'axe?= =?UTF-8?q?=20indiquant=20la=20direction=20de=20la=20cam=C3=A9ra.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- view.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/view.cpp b/view.cpp index 42e0d88..65c2aef 100644 --- 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