nw::gfx::Camera::GetUpwardVector Member Function

Syntax

const nw::math::VEC3 & GetUpwardVector() const;

Arguments

None.

Return Values

The up vector.

Description

Gets the up vector of the configured view updater.

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


CONFIDENTIAL