Click or drag to resize

UtilComposeAngles Method

Create a rotation Matrix from the Yaw (Y rotation), Pitch (X rotation) and Roll (Z rotation) contained in the given Vector3.

Namespace:  Demo3D.Common
Assembly:  Demo3D.Common (in Demo3D.Common.dll) Version: 15.0.2.11458
Syntax
C#
public static Matrix ComposeAngles(
	Vector3 angles
)

Parameters

angles
Type: Microsoft.DirectXVector3
Vector3 containing angles (in radians).

Return Value

Type: Matrix
Rotation Matrix.
See Also