Just wondering if the actual function names are correct. Rotate from to should possible be rotate to vector? Very useful too once I get my code working - thanks for the add.

// Creates a rotation matrix to rotate from vector â€˜fromâ€™ to vector â€˜toâ€™.

mat3 TDCreateRotMatrix(vec3 from, vec3 to);

// Creates a rotation matrix that rotates starting from looking down +Z, to the â€˜forwardâ€™ vector direction

mat3 TDRotateToVector(vec3 forward, vec3 up);

// Creates a rotation matrix that rotates around the â€˜axisâ€™, the given number of â€˜radiansâ€™

mat3 TDRotateOnAxis(float radians, vec3 axis)

Do you mean the parameter names on TDCreateRotMatrix() are reversed, or something else?