0.44.0
|
#include <iFrustum.h>
Public Member Functions | |
bool | operator== (const iFrustum< T > &frustum) const |
bool | operator!= (const iFrustum< T > &frustum) const |
iFrustum ()=default | |
iFrustum (const iaMatrix< T > &matrix) | |
void | set (const iaMatrix< T > &matrix) |
virtual | ~iFrustum ()=default |
Public Attributes | |
iPlane< T > | _leftPlane |
iPlane< T > | _rightPlane |
iPlane< T > | _topPlane |
iPlane< T > | _bottomPlane |
iPlane< T > | _nearPlane |
iPlane< T > | _farPlane |
frustum defined by 8 planes
|
default |
default ctor
iFrustum::iFrustum | ( | const iaMatrix< T > & | matrix | ) |
init with projection matrix
matrix | projection matrix |
|
virtualdefault |
does nothing
IGOR_INLINE bool iFrustum::operator!= | ( | const iFrustum< T > & | frustum | ) | const |
negated comparison of two frustums
frustum | the second frustum |
IGOR_INLINE bool iFrustum::operator== | ( | const iFrustum< T > & | frustum | ) | const |
comparison of two frustums
frustum | the second frustum to compare |
void iFrustum::set | ( | const iaMatrix< T > & | matrix | ) |
uses projection matrix to calculate all planes of the frustum
http://www.racer.nl/reference/vfc.htm
matrix | projection matrix |
iPlane<T> igor::iFrustum< T >::_bottomPlane |
bottom plane of frustum
iPlane<T> igor::iFrustum< T >::_farPlane |
far plane of frustum
iPlane<T> igor::iFrustum< T >::_leftPlane |
left plane of frustum
iPlane<T> igor::iFrustum< T >::_nearPlane |
near plane of frustum
iPlane<T> igor::iFrustum< T >::_rightPlane |
right plane of frustum
iPlane<T> igor::iFrustum< T >::_topPlane |
top plane of frustum