Searched refs:oneMinusCosTheta (Results 1 – 1 of 1) sorted by relevance
828 double oneMinusCosTheta = 1 - cosTheta; in rotate3d() local829 mat.m_matrix[0][0] = cosTheta + x * x * oneMinusCosTheta; in rotate3d()830 mat.m_matrix[0][1] = y * x * oneMinusCosTheta + z * sinTheta; in rotate3d()831 mat.m_matrix[0][2] = z * x * oneMinusCosTheta - y * sinTheta; in rotate3d()832 mat.m_matrix[1][0] = x * y * oneMinusCosTheta - z * sinTheta; in rotate3d()833 mat.m_matrix[1][1] = cosTheta + y * y * oneMinusCosTheta; in rotate3d()834 mat.m_matrix[1][2] = z * y * oneMinusCosTheta + x * sinTheta; in rotate3d()835 mat.m_matrix[2][0] = x * z * oneMinusCosTheta + y * sinTheta; in rotate3d()836 mat.m_matrix[2][1] = y * z * oneMinusCosTheta - x * sinTheta; in rotate3d()837 mat.m_matrix[2][2] = cosTheta + z * z * oneMinusCosTheta; in rotate3d()