Rise
The Vieneo Province
Loading...
Searching...
No Matches
GeometryBounds Struct Reference

#include <GeometryBounds.h>

Public Member Functions

template<class Vector>
void Include (const Vector &p)
template<class Vector>
bool IsWithinDistance (const Vector &point, float distance) const
template<class Matrix>
bool IntersectsFrustum (const Matrix &m, float guardX=0, float guardY=0) const

Public Attributes

float low [3] = {}
float high [3] = {}
bool valid = false

Detailed Description

Definition at line 10 of file GeometryBounds.h.

Member Function Documentation

◆ Include()

template<class Vector>
void GeometryBounds::Include ( const Vector & p)
inline

Definition at line 15 of file GeometryBounds.h.

Here is the caller graph for this function:

◆ IntersectsFrustum()

template<class Matrix>
bool GeometryBounds::IntersectsFrustum ( const Matrix & m,
float guardX = 0,
float guardY = 0 ) const
inline

Definition at line 43 of file GeometryBounds.h.

Here is the caller graph for this function:

◆ IsWithinDistance()

template<class Vector>
bool GeometryBounds::IsWithinDistance ( const Vector & point,
float distance ) const
inline

Definition at line 26 of file GeometryBounds.h.

Member Data Documentation

◆ high

float GeometryBounds::high[3] = {}

Definition at line 12 of file GeometryBounds.h.

◆ low

float GeometryBounds::low[3] = {}

Definition at line 12 of file GeometryBounds.h.

◆ valid

bool GeometryBounds::valid = false

Definition at line 13 of file GeometryBounds.h.


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