58 glMatrixMode(GL_MODELVIEW);
67 glGetIntegerv(GL_VIEWPORT, viewport);
68 unsigned int width = viewport[2];
69 unsigned int height = viewport[3];
71 glMatrixMode(GL_PROJECTION);
74 glOrtho(0, width, 0.0, height, 0.0, 1.0);
77 glMatrixMode(GL_MODELVIEW);
84 glMatrixMode(GL_PROJECTION);
88 glMatrixMode(GL_MODELVIEW);
void setColor(const OColor &oColor)
virtual ~OGLSphereElement()
OGLSphere * m_pOGLSphereToDisplay
void drawSphere(const OPoint3D ¢er, float raduis, const OColor &oColor) const