Axmol Engine 2.4.0-258ceca
Loading...
Searching...
No Matches
Frustum Class Reference

the frustum is a six-side geometry, usually use the frustum to do fast-culling: check a entity whether is a potential visible entity @js NA @lua NA More...

#include <Frustum.h>

Public Member Functions

 Frustum ()
 Constructor & Destructor.
 
bool initFrustum (const Camera *camera)
 init frustum from camera.
 
bool isOutOfFrustum (const AABB &aabb) const
 is aabb out of frustum.
 
bool isOutOfFrustum (const OBB &obb) const
 is obb out of frustum
 
void setClipZ (bool clipZ)
 get & set z clip.
 

Detailed Description

the frustum is a six-side geometry, usually use the frustum to do fast-culling: check a entity whether is a potential visible entity @js NA @lua NA

Member Function Documentation

◆ setClipZ()

void setClipZ ( bool clipZ)
inline

get & set z clip.

if bclipZ == true use near and far plane


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