nw::math::MTX34CameraRotateFIdx Function

Syntax

NW_MATH_INLINE MTX34 * MTX34CameraRotateFIdx(
     nw::math::MTX34 * pOut,
     const nw::math::VEC3 * pCamPos,
     const nw::math::VEC3 * pCamRotate
);

Arguments

Name Description
out pOut Pointer to the buffer that receives the result of the calculation.
in pCamPos Pointer to vector that specifies the camera position.
in pCamRotate Pointer to the vector which specifies the amount of camera rotation, expressed in units where 256.0 is one full revolution.

Return Values

Returns pOut.

Description

Sets the camera matrix.


CONFIDENTIAL