pub fn euler_to_rotation<T: Float>(
yay: T,
pitch: T,
roll: T,
s: Option<EulerSeq>,
) -> M33<T>
Expand description
Compute the rotation matrix from euler angles with the following conventions: XYX, XYZ, XZX, XZY, YXY, YXZ, YZX, YZY, ZXY, ZXZ
Function arguments:
yay: first euler angle in radians (Float number)
pitch: second euler angle in radians (Float number)
roll: third euler angle in radians (Float number)
s
: Option<EulerSeq>:
Optional Euler sequence if is None compute ZYX
Output:
r
: Rotation matrix(M33<Float>
)