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
7171 glPushMatrix();
7272 glTranslatef(MARKER_DISTANCE, 0, 0);
7373 glColor3fv(red);
74− Application::getInstance()->getGeometryCache()->renderSphere(MARKER_RADIUS, 10, 10);
74+ GeometryCache::getInstance()->renderSphere(MARKER_RADIUS, 10, 10);
7575 glPopMatrix();
7676 glPushMatrix();
7777 glTranslatef(0, MARKER_DISTANCE, 0);
7878 glColor3fv(green);
79− Application::getInstance()->getGeometryCache()->renderSphere(MARKER_RADIUS, 10, 10);
79+ GeometryCache::getInstance()->renderSphere(MARKER_RADIUS, 10, 10);
8080 glPopMatrix();
8181 glPushMatrix();
8282 glTranslatef(0, 0, MARKER_DISTANCE);
8383 glColor3fv(blue);
84− Application::getInstance()->getGeometryCache()->renderSphere(MARKER_RADIUS, 10, 10);
84+ GeometryCache::getInstance()->renderSphere(MARKER_RADIUS, 10, 10);
8585 glPopMatrix();
8686 glPushMatrix();
8787 glColor3fv(gray);
8888 glTranslatef(MARKER_DISTANCE, 0, MARKER_DISTANCE);
89− Application::getInstance()->getGeometryCache()->renderSphere(MARKER_RADIUS, 10, 10);
89+ GeometryCache::getInstance()->renderSphere(MARKER_RADIUS, 10, 10);
9090 glPopMatrix();
9191
9292 }

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t