History

more render util cleanup

ZappoMan committed 11 years ago

Commit 4ac673f1 parent e9ea6b216 files · +38 −34Browse files

Showing the changes to interface/src/Util.cpp (1 of 16 files). Show all

Unified · Split

interface/src/Util.cpp+4−4
@@ -71,22 +71,22 @@ void renderWorldBox() { · 70 unmodified lines
71 glPushMatrix();71 glPushMatrix();
72 glTranslatef(MARKER_DISTANCE, 0, 0);72 glTranslatef(MARKER_DISTANCE, 0, 0);
73 glColor3fv(red);73 glColor3fv(red);
74 Application::getInstance()->getGeometryCache()->renderSphere(MARKER_RADIUS, 10, 10);74 GeometryCache::getInstance()->renderSphere(MARKER_RADIUS, 10, 10);
75 glPopMatrix();75 glPopMatrix();
76 glPushMatrix();76 glPushMatrix();
77 glTranslatef(0, MARKER_DISTANCE, 0);77 glTranslatef(0, MARKER_DISTANCE, 0);
78 glColor3fv(green);78 glColor3fv(green);
79 Application::getInstance()->getGeometryCache()->renderSphere(MARKER_RADIUS, 10, 10);79 GeometryCache::getInstance()->renderSphere(MARKER_RADIUS, 10, 10);
80 glPopMatrix();80 glPopMatrix();
81 glPushMatrix();81 glPushMatrix();
82 glTranslatef(0, 0, MARKER_DISTANCE);82 glTranslatef(0, 0, MARKER_DISTANCE);
83 glColor3fv(blue);83 glColor3fv(blue);
84 Application::getInstance()->getGeometryCache()->renderSphere(MARKER_RADIUS, 10, 10);84 GeometryCache::getInstance()->renderSphere(MARKER_RADIUS, 10, 10);
85 glPopMatrix();85 glPopMatrix();
86 glPushMatrix();86 glPushMatrix();
87 glColor3fv(gray);87 glColor3fv(gray);
88 glTranslatef(MARKER_DISTANCE, 0, MARKER_DISTANCE);88 glTranslatef(MARKER_DISTANCE, 0, MARKER_DISTANCE);
89 Application::getInstance()->getGeometryCache()->renderSphere(MARKER_RADIUS, 10, 10);89 GeometryCache::getInstance()->renderSphere(MARKER_RADIUS, 10, 10);
90 glPopMatrix();90 glPopMatrix();
91 91
92}92}