nw::gfx::Camera::SetUpwardVector Member Function

Syntax

void SetUpwardVector(
     f32 x,
     f32 y,
     f32 z
);

Arguments

Name Description
in x x component of the up vector.
in y y component of the up vector.
in z z component of the up vector.

Return Values

None.

Description

Sets the up vector 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 LookAt camera.


CONFIDENTIAL