|
Matrix4x4CreateFromYawPitchRoll Method
|
Creates rotation matrix to rotate an object around X, Y and Z axes.
Namespace:
Accord.Math
Assembly:
Accord.Math (in Accord.Math.dll) Version: 3.8.0
Syntax public static Matrix4x4 CreateFromYawPitchRoll(
float yaw,
float pitch,
float roll
)
Public Shared Function CreateFromYawPitchRoll (
yaw As Single,
pitch As Single,
roll As Single
) As Matrix4x4
Request Example
View SourceParameters
- yaw
- Type: SystemSingle
Rotation angle around Y axis in radians. - pitch
- Type: SystemSingle
Rotation angle around X axis in radians. - roll
- Type: SystemSingle
Rotation angle around Z axis in radians.
Return Value
Type:
Matrix4x4Returns rotation matrix to rotate an object around all 3 axes.
Remarks Note |
---|
The routine assumes roll-pitch-yaw rotation order, when creating rotation
matrix, i.e. an object is first rotated around Z axis, then around X axis and finally around
Y axis. |
See Also