q[1]*= si;
q[2]*= si;
q[3]*= si;
-
}
void quat_to_mat3(float m[][3], float *q)
mul_qt_qtqt(q, q1, q2);
}
-
void normalize_qt(float *q)
{
float len;
}
/* Quaternions to Axis Angle */
-void quat_to_axis_angle(float axis[3], float *angle,float q[4])
+void quat_to_axis_angle(float axis[3], float *angle, float q[4])
{
float ha, si;
}
/****************************** Vector/Rotation ******************************/
-/* TODO: the following calls should probably be depreceated sometime */
+/* TODO: the following calls should probably be deprecated sometime */
/* 3x3 matrix to axis angle */
void mat3_to_vec_rot(float axis[3], float *angle,float mat[3][3])