Position the distance message closer to the middle of the window, it
[freeglut] / progs / demos / Lorenz / lorenz.c
index 93ed843..5c05c8d 100644 (file)
@@ -268,7 +268,7 @@ void display_cb ( void )
   /* Print the distance between the two points */
   glColor3d ( 1.0, 1.0, 1.0 ) ;  /* White */
   sprintf ( string, "Distance: %10.6f", distance ) ;
-  glRasterPos2i ( 10, 10 ) ;
+  glRasterPos2i ( 1, 1 ) ;
   glutBitmapString ( GLUT_BITMAP_HELVETICA_12, (unsigned char*)string ) ;
 
   glutSwapBuffers();