LFrustumd

class LFrustumd

Inheritance diagram

Inheritance diagram of LFrustumd

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

Behaves like gluOrtho

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

Sets up a two-dimensional orthographic frustum

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

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

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