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