Frustumf

Inheritance:

Methods of Frustumf:

getPerspectiveParams
void Frustumf::get_perspective_params(float &yfov, float &aspect, float &fnear, float &ffar) const;

Description:

makeOrtho
void Frustumf::make_ortho(float fnear, float ffar);

Description: Behaves like gluOrtho

makeOrtho2D
void Frustumf::make_ortho_2D(void);

Description: Sets up a two-dimensional orthographic frustum

makePerspective
void Frustumf::make_perspective(float xfov, float yfov, float fnear, float ffar);

Undocumented function.

makePerspectiveHfov
void Frustumf::make_perspective_hfov(float xfov, float aspect, float fnear, float ffar);

Description: Behaves like gluPerspective (Aspect = width/height, Yfov in degrees) aspect +------------+ | | 1 | | yfov | | +------------+
-------+------
\ | / \ | / \ | / \ | / \ | / \|/ W yfov

makePerspectiveVfov
void Frustumf::make_perspective_vfov(float yfov, float aspect, float fnear, float ffar);

Undocumented function.