vsg
1.1.0
VulkanSceneGraph library
|
Frustum used internally by vsg::State to manage view fustum culling during vsg::RecordTraversal. More...
#include <State.h>
Public Types | |
using | value_type = MatrixStack::value_type |
using | Plane = t_plane< value_type > |
using | Vector = t_vec4< value_type > |
Public Member Functions | |
template<class M > | |
Frustum (const Frustum &pt, const M &matrix) | |
template<class M > | |
void | set (const Frustum &pt, const M &matrix) |
template<class M > | |
void | computeLodScale (const M &proj, const M &mv) |
template<typename T > | |
bool | intersect (const t_sphere< T > &s) const |
Public Attributes | |
Plane | face [POLYTOPE_SIZE] |
Vector | lodScale |
Frustum used internally by vsg::State to manage view fustum culling during vsg::RecordTraversal.