Lines Matching refs:direction
58 GLint direction;
79 GLint direction;
219 LoadInteger (&a[axle_count - 1].direction);
275 g[i].direction = 0;
552 g[i].direction = a[axle_index].direction;
600 if ((a[axle_index].direction != 0) && (g[j].angular_velocity != g[i].angular_velocity * g[i].teeth / g[j].teeth * g[i].radius / g[j].radius))
607 g[j].direction = (a[axle_index].direction = -g[i].direction);
615 if ((a[axle_index].direction != 0) && (g[i].angular_velocity != g[j].angular_velocity * g[j].teeth / g[i].teeth * g[j].radius / g[i].radius))
622 g[i].direction = (a[axle_index].direction = -g[j].direction);
636 if ((a[axle_index].direction != 0) && (g[j].angular_velocity != g[i].angular_velocity * g[i].teeth / g[j].teeth * g[i].radius / g[j].radius))
642 g[j].direction = (a[axle_index].direction = -g[i].direction);
651 if ((a[axle_index].direction != 0) && (g[i].angular_velocity != g[j].angular_velocity * g[j].teeth / g[i].teeth * g[j].radius / g[i].radius))
657 g[i].direction = (a[axle_index].direction = -g[j].direction);
671 g[i].direction = a[axle_index].direction;
728 g[g2].direction = (a[axle_index].direction = g[g1].direction);
736 g[g1].direction = (a[axle_index].direction = g[g2].direction);
749 g[i].direction = a[axle_index].direction;
793 glRotatef (g[i].direction * g[i].angle, 0.0, 0.0, 1.0);