nn::math::MTX34CameraRotate Function

Syntax

NN_FORCE_INLINE MTX34 * MTX34CameraRotate(
     MTX34 * pOut,
     const VEC3 * pCamPos,
     const VEC3 * pCamRotateDeg
);

Parameters

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 pCamRotateDeg Pointer to vector that specifies the amount of camera rotation. In units of degrees.

Return Values

Returns pOut.

Description

Sets the camera matrix.


CONFIDENTIAL