Searched refs:q2 (Results 1 – 2 of 2) sorted by relevance
41 float q2 = q->y; in quatToMatrix() local44 float sq_q2 = 2.0f * q2 * q2; in quatToMatrix()46 float q1_q2 = 2.0f * q1 * q2; in quatToMatrix()49 float q2_q0 = 2.0f * q2 * q0; in quatToMatrix()50 float q2_q3 = 2.0f * q2 * q3; in quatToMatrix()
1035 float q0, q1, q2, q3; in calculate_rv_4th_element() local1038 q2 = mPendingEvents[sensors_id].data[1]; in calculate_rv_4th_element()1041 q0 = 1 - q1*q1 - q2*q2 - q3*q3; in calculate_rv_4th_element()