nw::gfx::Camera::SetViewRotate Member Function

Syntax

void SetViewRotate(
     const nw::math::VEC3 & viewRotate
);

Arguments

Name Description
in viewRotate The angle vector. The components are in units of radians.

Return Values

None.

Description

Sets the rotation angle of the configured view updater.

This is a utility function designed to make it easy to set the parameters. Note that the program will halt if the configured view updater is not for the Rotate camera.


CONFIDENTIAL