38                               const RAY& bottomRight )
 
 
   78    for( 
unsigned int i = 0; i < 4; ++i )
 
   83        for( 
unsigned int j = 0; j < 8; ++j )
 
   85            const SFVEC3F OP = pointPlane - box[j];
 
   86            const float dot = glm::dot( OP, normalPlane );
 
   88            if( dot < FLT_EPSILON )
 
 
Implement a frustum that is used for ray packet tests.
 
Manage a bounding box defined by two SFVEC3F min max points.
 
const SFVEC3F & Min() const
Return the minimum vertex pointer.
 
const SFVEC3F & Max() const
Return the maximum vertex pointer.
 
bool Intersect(const BBOX_3D &aBBox) const
Intersect aBBox with this frustum.
 
void GenerateFrustum(const RAY &topLeft, const RAY &topRight, const RAY &bottomLeft, const RAY &bottomRight)