LFrustumf

class LFrustumf

Inheritance diagram

Inheritance diagram of LFrustumf

LFrustumf(void)
LFrustumf(LFrustumf const&) = default
void get_perspective_params(float &yfov, float &aspect, float &fnear, float &ffar) const
void get_perspective_params(float &xfov, float &yfov, float &aspect, float &fnear, float &ffar) const
void make_ortho(float fnear, float ffar)
void make_ortho(float fnear, float ffar, float l, float r, float t, float b)

Behaves like gluOrtho

void make_ortho_2D(void)
void make_ortho_2D(float l, float r, float t, float b)

Sets up a two-dimensional orthographic frustum

void make_perspective(float xfov, float yfov, float fnear, float ffar)
void make_perspective_hfov(float xfov, float aspect, float fnear, float ffar)

Behaves like gluPerspective (Aspect = width/height, Yfov in degrees)

void make_perspective_vfov(float yfov, float aspect, float fnear, float ffar)