minor changes
This commit is contained in:
@@ -8,10 +8,10 @@
|
||||
*
|
||||
*
|
||||
* Brian Paul
|
||||
* Conversion to GLUT by Mark J. Kilgard
|
||||
* Other modifications by Lexxy Fox.
|
||||
*/
|
||||
|
||||
/* Conversion to GLUT by Mark J. Kilgard */
|
||||
|
||||
#include <math.h>
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
@@ -27,7 +27,6 @@ static GLboolean Animate = GL_TRUE;
|
||||
static GLfloat viewDist = 40.0;
|
||||
|
||||
/**
|
||||
|
||||
Draw a gear wheel. You'll probably want to call this function when
|
||||
building a display list since we do a lot of trig here.
|
||||
|
||||
@@ -36,7 +35,6 @@ static GLfloat viewDist = 40.0;
|
||||
width - width of gear
|
||||
teeth - number of teeth
|
||||
tooth_depth - depth of tooth
|
||||
|
||||
**/
|
||||
|
||||
static void gear(
|
||||
@@ -214,7 +212,6 @@ static void draw(void) {
|
||||
|
||||
Frames++;
|
||||
|
||||
{
|
||||
GLint t = glutGet(GLUT_ELAPSED_TIME);
|
||||
if (t - T0 >= 5000) {
|
||||
GLfloat seconds = (t - T0) / 1000.0;
|
||||
@@ -229,7 +226,6 @@ static void draw(void) {
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
static void idle(void) {
|
||||
static double t0 = -1.;
|
||||
|
Reference in New Issue
Block a user