Isle
Loading...
Searching...
No Matches
BoundingBox Class Reference

[AI] Represents an axis-aligned bounding box in 3D space, using minimum and maximum points. More...

#include <roi.h>

Public Member Functions

const Vector3Min () const
 [AI] Const accessor for the minimum corner of the bounding box. More...
 
Vector3Min ()
 [AI] Non-const accessor for the minimum corner of the bounding box. More...
 
const Vector3Max () const
 [AI] Const accessor for the maximum corner of the bounding box. More...
 
Vector3Max ()
 [AI] Non-const accessor for the maximum corner of the bounding box. More...
 

Detailed Description

[AI] Represents an axis-aligned bounding box in 3D space, using minimum and maximum points.

[AI] Used for fast collision and intersection tests for objects in the game world.

Definition at line 20 of file roi.h.

Member Function Documentation

◆ Max() [1/2]

Vector3 & BoundingBox::Max ( )
inline

[AI] Non-const accessor for the maximum corner of the bounding box.

Returns
Reference to the maximum point [AI]

Definition at line 41 of file roi.h.

◆ Max() [2/2]

const Vector3 & BoundingBox::Max ( ) const
inline

[AI] Const accessor for the maximum corner of the bounding box.

Returns
Reference to the maximum point [AI]

Definition at line 36 of file roi.h.

◆ Min() [1/2]

Vector3 & BoundingBox::Min ( )
inline

[AI] Non-const accessor for the minimum corner of the bounding box.

Returns
Reference to the minimum point [AI]

Definition at line 31 of file roi.h.

◆ Min() [2/2]

const Vector3 & BoundingBox::Min ( ) const
inline

[AI] Const accessor for the minimum corner of the bounding box.

Returns
Reference to the minimum point [AI]

Definition at line 26 of file roi.h.


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