XMMatrixRotationY

Builds a matrix that rotates around the y-axis.

Syntax

XMMATRIX XMMatrixRotationY(
         float Angle
)  

Parameters

Angle
Type: float 

Angle of rotation around the y-axis, in radians. Angles are measured clockwise when looking along the rotation axis toward the origin.

Return value

Type: XMMATRIX 

Returns the rotation matrix.

Requirements

Header: Declared in directxmath.h.