Notifications
Clear all

[Closed] EulerAngles as Matrix3

Using the max sdk in C++ how can I convert eulerAngles to a matrix 3. This is how you would do it in maxscript…

(eulerAngles 35 25 75) as matrix3
1 Reply

Make an empty Matrix3 and then use the Rotate functions.

Matrix3 TempMat(1);
   TempMat.RotateX(DegToRad(35));
   TempMat.RotateY(DegToRad(25));
   TempMat.RotateZ(DegToRad(75));