Searched refs:sq_q2 (Results 1 – 2 of 2) sorted by relevance
37 TYPE sq_q2 = 2 * q2 * q2; in quatToMatrix() local45 R[0][0] = 1 - sq_q2 - sq_q3; in quatToMatrix()53 R[2][2] = 1 - sq_q1 - sq_q2; in quatToMatrix()
1574 float sq_q2 = 2 * q2 * q2; in getRotationMatrixFromVector() local1584 R[0] = 1 - sq_q2 - sq_q3; in getRotationMatrixFromVector()1594 R[8] = 1 - sq_q1 - sq_q2; in getRotationMatrixFromVector()1596 R[0] = 1 - sq_q2 - sq_q3; in getRotationMatrixFromVector()1608 R[10] = 1 - sq_q1 - sq_q2; in getRotationMatrixFromVector()