Space Engineers
Public Member Functions | Public Attributes | List of all members
BulletXNA.BulletCollision.AABB Struct Reference

Axis aligned box. More...

Public Member Functions

 AABB (ref IndexedVector3 min, ref IndexedVector3 max)
 
 AABB (IndexedVector3 min, IndexedVector3 max)
 
void Invalidate ()
 
void Merge (AABB box)
 Merges a Box. More...
 
void Merge (ref AABB box)
 
void GetCenterExtend (out IndexedVector3 center, out IndexedVector3 extend)
 Gets the extend and center. More...
 
bool CollideRay (ref IndexedVector3 vorigin, ref IndexedVector3 vdir)
 Finds the Ray intersection parameter. More...
 
float CollideRayDistance (ref IndexedVector3 origin, ref IndexedVector3 direction)
 

Public Attributes

IndexedVector3 m_min
 
IndexedVector3 m_max
 

Detailed Description

Axis aligned box.

Definition at line 48 of file BoxCollision.cs.

Constructor & Destructor Documentation

BulletXNA.BulletCollision.AABB.AABB ( ref IndexedVector3  min,
ref IndexedVector3  max 
)
inline

Definition at line 53 of file BoxCollision.cs.

BulletXNA.BulletCollision.AABB.AABB ( IndexedVector3  min,
IndexedVector3  max 
)
inline

Definition at line 59 of file BoxCollision.cs.

Member Function Documentation

bool BulletXNA.BulletCollision.AABB.CollideRay ( ref IndexedVector3  vorigin,
ref IndexedVector3  vdir 
)
inline

Finds the Ray intersection parameter.

Parameters
aabbAligned box
voriginA vec3f with the origin of the ray
vdirA vec3f with the direction of the ray

Definition at line 104 of file BoxCollision.cs.

float BulletXNA.BulletCollision.AABB.CollideRayDistance ( ref IndexedVector3  origin,
ref IndexedVector3  direction 
)
inline

Definition at line 126 of file BoxCollision.cs.

void BulletXNA.BulletCollision.AABB.GetCenterExtend ( out IndexedVector3  center,
out IndexedVector3  extend 
)
inline

Gets the extend and center.

Definition at line 93 of file BoxCollision.cs.

void BulletXNA.BulletCollision.AABB.Invalidate ( )
inline

Definition at line 65 of file BoxCollision.cs.

void BulletXNA.BulletCollision.AABB.Merge ( AABB  box)
inline

Merges a Box.

Definition at line 76 of file BoxCollision.cs.

void BulletXNA.BulletCollision.AABB.Merge ( ref AABB  box)
inline

Definition at line 81 of file BoxCollision.cs.

Member Data Documentation

IndexedVector3 BulletXNA.BulletCollision.AABB.m_max

Definition at line 51 of file BoxCollision.cs.

IndexedVector3 BulletXNA.BulletCollision.AABB.m_min

Definition at line 50 of file BoxCollision.cs.


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