MTX23RotCenterFIdx

nn::math::MTX23RotCenterFIdx Function

Syntax

NN_MATH_INLINE MTX23 * MTX23RotCenterFIdx(
     MTX23 * pOut,
     const VEC2 * pCenter,
     f32 fIdx
);

Parameters

Name Description
out pOut Pointer to the buffer that receives the result of the calculation.
in pCenter Coordinates of the center of rotation.
in fIdx Angle in units for which one complete revolution is defined as equal to 256.0 units.

Return Values

Returns pOut.

Description

Creates a rotation matrix having the specified center of rotation.


CONFIDENTIAL