Searched refs:mat (Results 1 – 1 of 1) sorted by relevance
900 void ToMatrix(Mat4& mat) { in ToMatrix() argument911 mat.f_[0] = 1.0f - y2 - z2; in ToMatrix()912 mat.f_[1] = xy + zw; in ToMatrix()913 mat.f_[2] = zx - yw; in ToMatrix()914 mat.f_[4] = xy - zw; in ToMatrix()915 mat.f_[5] = 1.0f - z2 - x2; in ToMatrix()916 mat.f_[6] = yz + xw; in ToMatrix()917 mat.f_[8] = zx + yw; in ToMatrix()918 mat.f_[9] = yz - xw; in ToMatrix()919 mat.f_[10] = 1.0f - x2 - y2; in ToMatrix()[all …]