]> Dogcows Code - chaz/yoink/blobdiff - src/Moof/Sphere.cc
experimental shapes hierarchy and raycasting
[chaz/yoink] / src / Moof / Sphere.cc
index 5e43e0d42e414a60c7ab394e7ae1804203648322..aa2c139166e223cf00db45709cb428210ee4c181 100644 (file)
@@ -46,7 +46,8 @@ void Sphere::draw(Scalar alpha) const
 
        glPushMatrix();
 
-       glTranslate(point[0], point[1], point[2]);
+       //glTranslate(point[0], point[1], point[2]);
+       glTranslate(point);
        gluSphere(sphereObj, (GLdouble)radius, 16, 16);
 
        glPopMatrix();
This page took 0.018884 seconds and 4 git commands to generate.