/**
* Draw x, z axis on floor
*/
-void drawLine() {
+void drawAxisLines() {
// **NOTE: Function does not currently draw arrow-heads
glDisable(GL_TEXTURE_2D);
glDisable(GL_LIGHTING);
glEnable(GL_BLEND);
glBlendFunc(GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA);
+ glEnable(GL_LINE_SMOOTH);
glColor3f( 0.0, 0.0, 0.0 );
float arrowLength = 1.0;
void drawSquare(int recurseLevel, float x1, float z1, float x2, float z2);
void drawFloor();
-void drawLine();
+void drawAxisLines();
#endif /* HELPER_H */
glLightfv(GL_LIGHT1, GL_POSITION, lightPosition1);\r
\r
drawFloor();\r
-\r
- drawLine();\r
\r
// Draw teapot for a test object\r
glPushMatrix();\r
glEnable(GL_LIGHTING);\r
glPopMatrix();\r
\r
+ drawAxisLines();\r
+\r
glPopMatrix();\r
\r
glutSwapBuffers();\r