Public Member Functions |
LMatrix4d | get_ortho_projection_mat (CoordinateSystem cs=CS_default) const |
| This computes a transform matrix that performs the orthographic transform defined by the frustum, accordinate to the indicated coordinate system.
|
LMatrix4d | get_ortho_projection_mat (CoordinateSystem cs=CS_default) const |
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 | 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 |
LMatrix4d | get_perspective_projection_mat (CoordinateSystem cs=CS_default) const |
| This computes a transform matrix that performs the perspective transform defined by the frustum, accordinate to the indicated coordinate system.
|
LMatrix4d | get_perspective_projection_mat (CoordinateSystem cs=CS_default) const |
void | make_ortho (double fnear, double ffar) |
| Behaves like gluOrtho.
|
void | make_ortho (double fnear, double ffar) |
void | make_ortho (double fnear, double ffar, double l, double r, double t, double b) |
void | make_ortho (double fnear, double ffar, double l, double r, double t, double b) |
| Behaves like gluOrtho.
|
void | make_ortho_2D (double l, double r, double t, double b) |
void | make_ortho_2D () |
| Sets up a two-dimensional orthographic frustum.
|
void | make_ortho_2D (double l, double r, double t, double b) |
| Sets up a two-dimensional orthographic frustum.
|
void | make_ortho_2D () |
void | make_perspective (double xfov, double yfov, double fnear, double ffar) |
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) aspect +------------+ | | 1 | | yfov | | +------------+.
|
void | make_perspective_hfov (double xfov, double aspect, double fnear, double ffar) |
void | make_perspective_vfov (double yfov, double aspect, double fnear, double ffar) |
void | make_perspective_vfov (double yfov, double aspect, double fnear, double ffar) |
Public Attributes |
double | _b |
double | _ffar |
double | _fnear |
double | _l |
double | _r |
double | _t |
Definition at line 44 of file frustum.h.