#include <frustumCuller.h>
Public Member Functions | |
void | setup (const Matrix4< T > &projModelView) |
Visibility | testSphere (const Vector4< T > &sphere) |
Helper class for OpenGL view frustum culling.
void vmml::FrustumCuller< T >::setup | ( | const Matrix4< T > & | projModelView | ) | [inline] |
Setup the culler by extracting the frustum planes from the projection matrix. The projection matrix should contain the viewing transformation.