Searched refs:oneMinusCosTheta (Results 1 – 1 of 1) sorted by relevance
807 double oneMinusCosTheta = 1 - cosTheta; in rotate3d() local808 mat.m_matrix[0][0] = cosTheta + x * x * oneMinusCosTheta; in rotate3d()809 mat.m_matrix[0][1] = y * x * oneMinusCosTheta + z * sinTheta; in rotate3d()810 mat.m_matrix[0][2] = z * x * oneMinusCosTheta - y * sinTheta; in rotate3d()811 mat.m_matrix[1][0] = x * y * oneMinusCosTheta - z * sinTheta; in rotate3d()812 mat.m_matrix[1][1] = cosTheta + y * y * oneMinusCosTheta; in rotate3d()813 mat.m_matrix[1][2] = z * y * oneMinusCosTheta + x * sinTheta; in rotate3d()814 mat.m_matrix[2][0] = x * z * oneMinusCosTheta + y * sinTheta; in rotate3d()815 mat.m_matrix[2][1] = y * z * oneMinusCosTheta - x * sinTheta; in rotate3d()816 mat.m_matrix[2][2] = cosTheta + z * z * oneMinusCosTheta; in rotate3d()