(no commit message)
[atyndall/cits2231.git] / helper.c
index d685e51..e5d9c0b 100644 (file)
--- a/helper.c
+++ b/helper.c
@@ -262,8 +262,13 @@ void drawLine() {
     glColor4ub( 0.0, 0.0, 0.0, 0.5 );
 
     glBegin(GL_LINES);
-    glVertex3i( 10.0, 0.1, 10.0);
-    glVertex3i( -10.0, 0.1, -10.0);
+    glVertex3i(  lineLength, 1.0, 0.0 );
+    glVertex3i( -lineLength, 1.0, 0.0 );
+    glEnd();
+
+    glBegin(GL_LINES);
+    glVertex3i( 0.0, 1.0,  lineLength );
+    glVertex3i( 0.0, 1.0, -lineLength );
     glEnd();
 
     glDisable(GL_BLEND);

UCC git Repository :: git.ucc.asn.au