Home
last modified time | relevance | path

Searched refs:rot (Results 1 – 2 of 2) sorted by relevance

/hardware/invensense/mlsdk/mllite/
DmlMathFunc.c234 void inv_quaternion_to_rotation(const long *quat, long *rot) in inv_quaternion_to_rotation() argument
236 rot[0] = 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()
242 rot[4] = 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()
248 rot[8] = in inv_quaternion_to_rotation()
DmlMathFunc.h54 void inv_quaternion_to_rotation(const long *quat, long *rot);