Lines Matching refs:quat
234 void inv_quaternion_to_rotation(const long *quat, long *rot) in inv_quaternion_to_rotation() argument
237 inv_q29_mult(quat[1], quat[1]) + inv_q29_mult(quat[0], in inv_quaternion_to_rotation()
238 quat[0]) - 1073741824L; in inv_quaternion_to_rotation()
239 rot[1] = inv_q29_mult(quat[1], quat[2]) - inv_q29_mult(quat[3], quat[0]); in inv_quaternion_to_rotation()
240 rot[2] = inv_q29_mult(quat[1], quat[3]) + inv_q29_mult(quat[2], quat[0]); in inv_quaternion_to_rotation()
241 rot[3] = inv_q29_mult(quat[1], quat[2]) + inv_q29_mult(quat[3], quat[0]); in inv_quaternion_to_rotation()
243 inv_q29_mult(quat[2], quat[2]) + inv_q29_mult(quat[0], in inv_quaternion_to_rotation()
244 quat[0]) - 1073741824L; in inv_quaternion_to_rotation()
245 rot[5] = inv_q29_mult(quat[2], quat[3]) - inv_q29_mult(quat[1], quat[0]); in inv_quaternion_to_rotation()
246 rot[6] = inv_q29_mult(quat[1], quat[3]) - inv_q29_mult(quat[2], quat[0]); in inv_quaternion_to_rotation()
247 rot[7] = inv_q29_mult(quat[2], quat[3]) + inv_q29_mult(quat[1], quat[0]); in inv_quaternion_to_rotation()
249 inv_q29_mult(quat[3], quat[3]) + inv_q29_mult(quat[0], in inv_quaternion_to_rotation()
250 quat[0]) - 1073741824L; in inv_quaternion_to_rotation()