vsg  1.1.0
VulkanSceneGraph library
Public Types | Public Member Functions | Public Attributes | List of all members
vsg::Frustum Struct Reference

Frustum used internally by vsg::State to manage view fustum culling during vsg::RecordTraversal. More...

#include <State.h>

Collaboration diagram for vsg::Frustum:
Collaboration graph
[legend]

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
 

Detailed Description

Frustum used internally by vsg::State to manage view fustum culling during vsg::RecordTraversal.


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