Torque Game Engine Documentation
TGE Version 1.5.2
Torque Home
Class Hierarchy
Data Structures
Namespaces
Namespace Members
File List
Globals
Polytope Class Reference
#include <polytope.h>
Public Types
typedef
Vector
<
Edge
>
EdgeList
typedef
Vector
<
Face
>
FaceList
typedef
Vector
<
Vertex
>
VertexList
typedef
Vector
<
Volume
>
VolumeList
typedef
Vector
<
StackElement
>
VolumeStack
Public Member Functions
Polytope
()
void
buildBox
(const
MatrixF
&transform, const
Box3F
&box)
void
intersect
(
SimObject
*, const
BSPNode
*node)
bool
didIntersect
()
void
extrudeFace
(
int
fi, const
VectorF
&vec,
Polytope
*out)
bool
findCollision
(const
VectorF
&vec,
Polytope::Collision
*best)
void
render
()
Data Fields
S32
sideCount
EdgeList
mEdgeList
FaceList
mFaceList
VertexList
mVertexList
VolumeList
mVolumeList
Private Member Functions
bool
intersect
(const
PlaneF
&
plane
, const
Point3F
&sp, const
Point3F
&ep)
Data Structures
struct
Collision
struct
Edge
struct
Face
struct
StackElement
struct
Vertex
struct
Volume
Member Typedef Documentation
typedef
Vector
<
Edge
>
Polytope::EdgeList
typedef
Vector
<
Face
>
Polytope::FaceList
typedef
Vector
<
Vertex
>
Polytope::VertexList
typedef
Vector
<
Volume
>
Polytope::VolumeList
typedef
Vector
<
StackElement
>
Polytope::VolumeStack
Constructor & Destructor Documentation
Polytope::Polytope
(
)
Member Function Documentation
bool Polytope::intersect
(
const
PlaneF
&
plane
,
const
Point3F
&
sp
,
const
Point3F
&
ep
)
[private]
void
Polytope::buildBox
(
const
MatrixF
&
transform
,
const
Box3F
&
box
)
void
Polytope::intersect
(
SimObject
*
,
const
BSPNode
*
node
)
bool Polytope::didIntersect
(
)
[inline]
void
Polytope::extrudeFace
(
int
fi
,
const
VectorF
&
vec
,
Polytope
*
out
)
bool Polytope::findCollision
(
const
VectorF
&
vec
,
Polytope::Collision
*
best
)
void
Polytope::render
(
)
Field Documentation
S32
Polytope::sideCount
EdgeList
Polytope::mEdgeList
FaceList
Polytope::mFaceList
VertexList
Polytope::mVertexList
VolumeList
Polytope::mVolumeList
All Rights Reserved GarageGames.com, Inc. 1999-2005
Auto-magically Generated with
Doxygen