From 30f487d09679be8b998e013b00fdbc62340b9663 Mon Sep 17 00:00:00 2001 From: Gaetan Bricteux <gaetan.bricteux@uclouvain.be> Date: Mon, 15 Nov 2010 16:59:33 +0000 Subject: [PATCH] float or double? --- Graphics/drawGlyph.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Graphics/drawGlyph.cpp b/Graphics/drawGlyph.cpp index b2f7ac2c40..53e9fc24b3 100644 --- a/Graphics/drawGlyph.cpp +++ b/Graphics/drawGlyph.cpp @@ -133,10 +133,10 @@ void drawContext::drawEllipse(double x, double y, double z, float v0[3], float v if(light) glEnable(GL_LIGHTING); glPushMatrix(); GLfloat m[16] = { - v0[0], v0[1], v0[2], .0d, - v1[0], v1[1], v1[2], .0d, - v2[0], v2[1], v2[2], .0d, - x, y, z, 1.d + v0[0], v0[1], v0[2], .0f, + v1[0], v1[1], v1[2], .0f, + v2[0], v2[1], v2[2], .0f, + x, y, z, 1.f }; glMultMatrixf(m); glCallList(_displayLists + 0); -- GitLab