Improve inline comments
This commit is contained in:
parent
0fc3212f5a
commit
58d4eb474e
@ -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();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user