draw_label (ModeInfo *mi, const char *s)
{
spheremonics_configuration *cc = &ccs[MI_SCREEN(mi)];
- int i;
+ unsigned int i;
glPushAttrib(GL_TRANSFORM_BIT | GL_ENABLE_BIT);
glDisable(GL_LIGHTING);
}
cc->rot = make_rotator (spinx ? spin_speed : 0,
- spiny ? spin_speed : 0,
spinz ? spin_speed : 0,
+ spiny ? spin_speed : 0,
1.0,
do_wander ? wander_speed : 0,
- True);
+ (spinx && spiny && spinz));
cc->trackball = gltrackball_init ();
}
cc->m_max = 4; /* 9? */
{
- int i;
+ unsigned int i;
for (i = 0; i < countof(cc->dm); i++)
cc->dm[i] = 1; /* going up! */