torque Torque Game Engine Documentation
TGE Version 1.5.2

ConvexFeature Class Reference

#include <convex.h>


Public Member Functions

 ConvexFeature ()
bool collide (ConvexFeature &cf, CollisionList *cList, F32 tol=0.1)
void testVertex (const Point3F &v, CollisionList *cList, bool, F32 tol)
void testEdge (ConvexFeature *cf, const Point3F &s1, const Point3F &e1, CollisionList *cList, F32 tol)
bool inVolume (const Point3F &v)

Data Fields

Vector< Point3FmVertexList
Vector< EdgemEdgeList
Vector< FacemFaceList
S32 material
SceneObjectobject

Data Structures

struct  Edge
struct  Face


Constructor & Destructor Documentation

ConvexFeature::ConvexFeature (  )  [inline]


Member Function Documentation

bool ConvexFeature::collide ( ConvexFeature cf,
CollisionList cList,
F32  tol = 0.1 
)

void ConvexFeature::testVertex ( const Point3F v,
CollisionList cList,
bool  ,
F32  tol 
)

void ConvexFeature::testEdge ( ConvexFeature cf,
const Point3F s1,
const Point3F e1,
CollisionList cList,
F32  tol 
)

bool ConvexFeature::inVolume ( const Point3F v  ) 


Field Documentation




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