Improve inline comments

This commit is contained in:
hasufell 2014-05-12 20:55:16 +02:00
parent 0fc3212f5a
commit 58d4eb474e
No known key found for this signature in database
GPG Key ID: 220CD1C5BDEED020
1 changed files with 3 additions and 1 deletions

View File

@ -125,9 +125,11 @@ static void draw_obj(int32_t const myxrot,
int32_t const myyrot,
int32_t const myzrot)
{
/* rotation */
static int32_t xrot = 0,
yrot = 0,
zrot = 0;
/* color */
static float red = 90,
blue = 90,
@ -150,6 +152,7 @@ static void draw_obj(int32_t const myxrot,
return;
}
/* increment rotation, if any */
xrot += myxrot;
yrot += myyrot;
zrot += myzrot;
@ -181,7 +184,6 @@ static void draw_obj(int32_t const myxrot,
draw_vertices(obj);
glEnd();
glPopMatrix();
}