- add_quats
void add_quats(float[4] q1, float[4] q2, float[4] dest)
Undocumented in source. Be warned that the author may not have intended to support it.
- axis_to_quat
void axis_to_quat(float[3] a, float phi, float[4] q)
Undocumented in source. Be warned that the author may not have intended to support it.
- build_rotmatrix
void build_rotmatrix(float[4][4] m, float[4] q)
Undocumented in source. Be warned that the author may not have intended to support it.
- trackball
void trackball(float q, float p1x, float p1y, float p2x, float p2y)
Pass the x and y coordinates of the last and current positions of
the mouse, scaled so they are from (-1.0 ... 1.0).
- vadd
void vadd(float* src1, float* src2, float* dst)
Undocumented in source. Be warned that the author may not have intended to support it.
- vcopy
void vcopy(float* v1, float* v2)
Undocumented in source. Be warned that the author may not have intended to support it.
- vcross
void vcross(float* v1, float* v2, float* cross)
Undocumented in source. Be warned that the author may not have intended to support it.
- vdot
float vdot(float* v1, float* v2)
Undocumented in source. Be warned that the author may not have intended to support it.
- vlength
float vlength(float[3] v)
Undocumented in source. Be warned that the author may not have intended to support it.
- vnormal
void vnormal(float[3] v)
Undocumented in source. Be warned that the author may not have intended to support it.
- vscale
void vscale(float* v, float div)
Undocumented in source. Be warned that the author may not have intended to support it.
- vset
void vset(float[3] v, float x, float y, float z)
Undocumented in source. Be warned that the author may not have intended to support it.
- vsub
void vsub(float[3] src1, float[3] src2, float[3] dst)
Undocumented in source. Be warned that the author may not have intended to support it.
- vzero
void vzero(float* v)
Undocumented in source. Be warned that the author may not have intended to support it.