Richard Boegli's CnC_Generals_Zero_Hour Fork WIP
This is documentation of Richard Boegil's Zero Hour Fork
 
Loading...
Searching...
No Matches
OBBoxIntersectionTestClass Class Reference

#include <inttest.h>

Inherits IntersectionTestClass.

Public Member Functions

 OBBoxIntersectionTestClass (const OBBoxClass &box, int collision_type)
 
 OBBoxIntersectionTestClass (const OBBoxIntersectionTestClass &that)
 
 OBBoxIntersectionTestClass (const OBBoxIntersectionTestClass &that, const Matrix3D &tm)
 
 OBBoxIntersectionTestClass (const AABoxIntersectionTestClass &that, const Matrix3D &tm)
 
bool Cull (const Vector3 &min, const Vector3 &max)
 
bool Cull (const AABoxClass &box)
 
bool Intersect_Triangle (const TriClass &tri)
 
- Public Member Functions inherited from IntersectionTestClass
 IntersectionTestClass (int collision_type)
 
 IntersectionTestClass (const IntersectionTestClass &that)
 

Public Attributes

OBBoxClass Box
 
AABoxClass BoundingBox
 
- Public Attributes inherited from IntersectionTestClass
int CollisionType
 

Protected Member Functions

void update_bounding_box (void)
 

Detailed Description

Definition at line 154 of file inttest.h.

Constructor & Destructor Documentation

◆ OBBoxIntersectionTestClass() [1/4]

OBBoxIntersectionTestClass::OBBoxIntersectionTestClass ( const OBBoxClass & box,
int collision_type )
inline

Definition at line 176 of file inttest.h.

◆ OBBoxIntersectionTestClass() [2/4]

OBBoxIntersectionTestClass::OBBoxIntersectionTestClass ( const OBBoxIntersectionTestClass & that)
inline

Definition at line 183 of file inttest.h.

◆ OBBoxIntersectionTestClass() [3/4]

OBBoxIntersectionTestClass::OBBoxIntersectionTestClass ( const OBBoxIntersectionTestClass & that,
const Matrix3D & tm )
inline

Definition at line 190 of file inttest.h.

◆ OBBoxIntersectionTestClass() [4/4]

OBBoxIntersectionTestClass::OBBoxIntersectionTestClass ( const AABoxIntersectionTestClass & that,
const Matrix3D & tm )
inline

Definition at line 201 of file inttest.h.

Member Function Documentation

◆ Cull() [1/2]

bool OBBoxIntersectionTestClass::Cull ( const AABoxClass & box)
inline

Definition at line 229 of file inttest.h.

◆ Cull() [2/2]

bool OBBoxIntersectionTestClass::Cull ( const Vector3 & min,
const Vector3 & max )
inline

Definition at line 214 of file inttest.h.

◆ Intersect_Triangle()

bool OBBoxIntersectionTestClass::Intersect_Triangle ( const TriClass & tri)
inline

Definition at line 243 of file inttest.h.

◆ update_bounding_box()

void OBBoxIntersectionTestClass::update_bounding_box ( void )
inlineprotected

Definition at line 248 of file inttest.h.

Member Data Documentation

◆ BoundingBox

AABoxClass OBBoxIntersectionTestClass::BoundingBox

Definition at line 172 of file inttest.h.

◆ Box

OBBoxClass OBBoxIntersectionTestClass::Box

Definition at line 171 of file inttest.h.


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