torque Torque Game Engine Documentation
TGE Version 1.5.2

engine/util/triBoxCheck.h File Reference

#include "math/mPoint.h"
#include "math/mBox.h"

Functions

bool triBoxOverlap (Point3F boxcenter, Point3F boxhalfsize, Point3F triverts[3])
bool triBoxOverlap (Box3F box, Point3F a, Point3F b, Point3F c)
 Massage stuff into right format for triBoxOverlap test.


Function Documentation

bool triBoxOverlap ( Point3F  boxcenter,
Point3F  boxhalfsize,
Point3F  triverts[3] 
)

bool triBoxOverlap ( Box3F  box,
Point3F  a,
Point3F  b,
Point3F  c 
) [inline]

Massage stuff into right format for triBoxOverlap test.

This is really just a helper function - use the other version if you want to be fast!




All Rights Reserved GarageGames.com, Inc. 1999-2005
Auto-magically Generated with Doxygen