/ich/Programmieren/KazadeEngine/NeHeKazmath/kazmath/src/aabb.h File Reference

#include "vec3.h"
#include "utility.h"

Go to the source code of this file.

Data Structures

struct  kmAABB

Functions

int kmAABBPointInBox (const kmVec3 *pPoint, const kmAABB *pBox)
kmAABBkmAABBAssign (kmAABB *pOut, const kmAABB *pIn)
kmAABBkmAABBScale (kmAABB *pOut, const kmAABB *pIn, kmScalar s)


Function Documentation

kmAABB* kmAABBAssign ( kmAABB pOut,
const kmAABB pIn 
)

Assigns pIn to pOut, returns pOut.

Definition at line 41 of file aabb.c.

int kmAABBPointInBox ( const kmVec3 pPoint,
const kmAABB pBox 
)

Returns KM_TRUE if point is in the specified AABB, returns KM_FALSE otherwise.

Definition at line 32 of file aabb.c.

References KM_FALSE.

kmAABB* kmAABBScale ( kmAABB pOut,
const kmAABB pIn,
kmScalar  s 
)

Scales pIn by s, stores the resulting AABB in pOut. Returns pOut

Definition at line 50 of file aabb.c.


Generated on Mon Dec 29 18:40:11 2008 for Kazmath by  doxygen 1.5.6