Falcon
Classes | Typedefs | Functions
Rendering Namespace Reference

Classes

class  Octree
 
class  OctreeNode
 

Typedefs

typedef boost::container::vector< OctreeNode *, fmemory::STLAllocator< OctreeNode * > > OctreeNodeVector
 
typedef boost::container::vector< glm::vec4, fmemory::STLAllocator< glm::vec4 > > planeArray
 

Functions

void NormalizePlaneCoeff (glm::vec4 &plane)
 
bool CheckBounds (OctreeNode *node, glm::vec3 NTL, glm::vec3 FBR)
 
bool CheckEntityPosInNode (OctreeNode *node, Entity *entity)
 

Typedef Documentation

◆ OctreeNodeVector

◆ planeArray

typedef boost::container::vector<glm::vec4, fmemory::STLAllocator<glm::vec4> > Rendering::planeArray

Function Documentation

◆ CheckBounds()

bool Rendering::CheckBounds ( OctreeNode node,
glm::vec3  NTL,
glm::vec3  FBR 
)

Non-Member Function that checks if the diagonally opposite corners of a bounding box are within the bounds of the provided octreenode.

Parameters
[in]Pointerto the Octreenode used as reference.
[in]Thecorner point of the bounding box.
[in]Thediagonally opposite corner point of the bounding box.
[out]booleanvalue indicating if the test was positive or negative (false if outside, true if inside).

◆ CheckEntityPosInNode()

bool Rendering::CheckEntityPosInNode ( OctreeNode node,
Entity entity 
)

Non-member Function that checks if the provided entity

Parameters
[in]Pointerto the OctreeNode.
[in]Pointerto the enitity.
[out]booleanvalue indicating if the test was positive or negative (false if outside, true if inside).

◆ NormalizePlaneCoeff()

void Rendering::NormalizePlaneCoeff ( glm::vec4 &  plane)

Non-member function for normalizing plane equations