ForestConvex
Engine/source/forest/forestCollision.h
Private Types
Parent
Public Friends
class
Protected Attributes
Public Functions
ForestConvex(const ForestConvex & cv)
calculateTransform(const MatrixF & worldXfrm)
Returns the bounding box for the object this is built around in world space.
getBoundingBox(const MatrixF & mat, const Point3F & scale)
Returns the object space bounding box for the object this is built around transformed and scaled.
getFeatures(const MatrixF & mat, const VectorF & n, ConvexFeature * cf)
This is used by the GJK collision in Vehicle.
getPolyList(AbstractPolyList * list)
Builds a collision poly list out of this convex.
Returns the transform of the object this is built around.
Detailed Description
Private Types
typedef Convex Parent
Public Friends
Public Attributes
Box3F box
U32 hullId
Protected Attributes
TSForestItemData * mData
U32 mForestItemKey
F32 mScale
MatrixF mTransform
Public Functions
ForestConvex()
ForestConvex(const ForestConvex & cv)
calculateTransform(const MatrixF & worldXfrm)
getBoundingBox()
Reimplemented from: Convex
getBoundingBox(const MatrixF & mat, const Point3F & scale)
Reimplemented from: Convex
getFeatures(const MatrixF & mat, const VectorF & n, ConvexFeature * cf)
Reimplemented from: Convex
getPolyList(AbstractPolyList * list)
Reimplemented from: Convex
getTransform()
Reimplemented from: Convex
support(const VectorF & v)
Reimplemented from: Convex