MovingObj

Undocumented in source.

Members

Functions

rotate
void rotate(float dt)

rotate the rotation matrix with the spin euler vector over dt secs

transform
FMat4 transform()

Compute the full transform

Variables

position
FVec3 position;

position of the object relative to its parent

rotation
FMat3 rotation;

current rotation of the object

spin
FVec3 spin;

rotation speed of the object around itself using Euler angles, in rad/s

Meta