- double rotx, roty, rotz; /* current object rotation */
- double dx, dy, dz; /* current rotational velocity */
- double ddx, ddy, ddz; /* current rotational acceleration */
- double d_max; /* max rotational velocity */
-
- int wander_frame; /* position in the wander cycle */
-
+ double rotx, roty, rotz; /* current object rotation, -1 to +1.
+ Sign indicates direction of motion.
+ 0.25 means +90 deg, positive velocity.
+ -0.25 means +90 deg, negative velocity
+ (not +270 deg or -90 deg!)
+ Yes, this is stupid.
+ */
+ double dx, dy, dz; /* current rotational velocity, >= 0. */
+ double ddx, ddy, ddz; /* current rotational acceleration, +/-. */
+ double d_max; /* max rotational velocity, > 0. */
+
+ int wander_frame; /* position in the wander cycle, >= 0. */