vmmlib  1.9.0
Templatized C++ vector and matrix math library
vmml::frustum< T > Class Template Reference
+ Collaboration diagram for vmml::frustum< T >:

Public Member Functions

 frustum (const T left, const T right, const T bottom, const T top, const T near_plane, const T far_plane)
 
template<typename U >
 frustum (const frustum< U > &source_)
 
template<typename U >
 frustum (const U *values)
 
frustumoperator= (const frustum &source_)
 
template<typename U >
void operator= (const frustum< U > &source_)
 
void set (const T _left, const T _right, const T _bottom, const T _top, const T _near, const T _far)
 
void set_perspective (T field_of_view_y, T aspect_ratio, T near_plane_, T far_plane)
 
matrix< 4, 4, T > compute_matrix () const
 
matrix< 4, 4, T > compute_ortho_matrix () const
 
void compute_matrix (matrix< 4, 4, T > &matrix_) const
 
void compute_ortho_matrix (matrix< 4, 4, T > &matrix_) const
 
void apply_jitter (const vector< 2, T > &jitter_)
 
void adjust_near (const T near_plane)
 
T & left ()
 
const T & left () const
 
T & right ()
 
const T & right () const
 
T & bottom ()
 
const T & bottom () const
 
T & top ()
 
const T & top () const
 
T & near_plane ()
 
const T & near_plane () const
 
T & far_plane ()
 
const T & far_plane () const
 
get_width () const
 
get_height () const
 

Public Attributes

array [6]
 left, right, bottom, top, near, far storage
 

Static Public Attributes

static const frustum DEFAULT
 

Friends

std::ostream & operator<< (std::ostream &os, const frustum &f)
 

Detailed Description

template<typename T>
class vmml::frustum< T >

Definition at line 45 of file frustum.hpp.


The documentation for this class was generated from the following file: