SetupRotate

nn::math::MTX34::SetupRotate Member Function

Syntax

self_type & SetupRotate(
     const VEC3 & axis,
     f32 theta
);

Parameters

Name Description
in axis The vector to take as the base axis.
in theta The angle to rotate by. In units of radians.

Return Values

Description

Sets up a rotation matrix around the specified axis.


CONFIDENTIAL