Searched refs:axle_index (Results 1 - 1 of 1) sorted by relevance

/xsrc/external/mit/mesa-demos/dist/src/demos/
H A Dgeartrain.c540 GLint axle_index, i, j, g1, g2, k; local in function:process
547 axle_index = axle_find (g[i].axle_name);
548 g[i].axis = a[axle_index].axis;
549 g[i].motored = a[axle_index].motored;
550 if (a[axle_index].motored)
552 g[i].direction = a[axle_index].direction;
553 g[i].angular_velocity = a[axle_index].angular_velocity;
562 g[i].position[0] = a[axle_index].position[0] + x * g[i].relative_position;
563 g[i].position[1] = a[axle_index].position[1] + y * g[i].relative_position;
564 g[i].position[2] = a[axle_index]
[all...]

Completed in 3 milliseconds