Skip to content
Snippets Groups Projects
Commit 30f487d0 authored by Gaetan Bricteux's avatar Gaetan Bricteux
Browse files

float or double?

parent 547041a5
No related branches found
No related tags found
No related merge requests found
...@@ -133,10 +133,10 @@ void drawContext::drawEllipse(double x, double y, double z, float v0[3], float v ...@@ -133,10 +133,10 @@ void drawContext::drawEllipse(double x, double y, double z, float v0[3], float v
if(light) glEnable(GL_LIGHTING); if(light) glEnable(GL_LIGHTING);
glPushMatrix(); glPushMatrix();
GLfloat m[16] = { GLfloat m[16] = {
v0[0], v0[1], v0[2], .0d, v0[0], v0[1], v0[2], .0f,
v1[0], v1[1], v1[2], .0d, v1[0], v1[1], v1[2], .0f,
v2[0], v2[1], v2[2], .0d, v2[0], v2[1], v2[2], .0f,
x, y, z, 1.d x, y, z, 1.f
}; };
glMultMatrixf(m); glMultMatrixf(m);
glCallList(_displayLists + 0); glCallList(_displayLists + 0);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment