Converting basic angles over each axis of a 3d rotation to euler angles or axis angles or quartenion

820 Views Asked by At

For a 3d rotation, if I know that I want to rotate e.g. around X axis with 15 degrees, around Y axis with 226 degrees and around Z axis with 0 degrees: how to calculate Euler angles from this ? I need the conversion in order to get 3x3 rotation matrix. actually what I want is: https://www.andre-gaschler.com/rotationconverter/ there you can enter in "Axis with angle magnitude" the angles and you get the Euler angles. What formula to use to get the same result?