Searched refs:sq_q3 (Results 1 – 2 of 2) sorted by relevance
38 TYPE sq_q3 = 2 * q3 * q3; in quatToMatrix() local45 R[0][0] = 1 - sq_q2 - sq_q3; in quatToMatrix()49 R[1][1] = 1 - sq_q1 - sq_q3; in quatToMatrix()
1575 float sq_q3 = 2 * q3 * q3; in getRotationMatrixFromVector() local1584 R[0] = 1 - sq_q2 - sq_q3; in getRotationMatrixFromVector()1589 R[4] = 1 - sq_q1 - sq_q3; in getRotationMatrixFromVector()1596 R[0] = 1 - sq_q2 - sq_q3; in getRotationMatrixFromVector()1602 R[5] = 1 - sq_q1 - sq_q3; in getRotationMatrixFromVector()