GjkCollisionState
Temporary values
Public Functions
compute_vector(S32 bits, VectorF & v)
bool
degenerate(const VectorF & w)
getClosestPoints(Point3F & p1, Point3F & p2)
getCollisionInfo(const MatrixF & mat, Collision * info)
Detailed Description
Temporary values
Point3F mP [4]
support points of object A in local coordinates
Point3F mQ [4]
support points of object B in local coordinates
VectorF mY [4]
support points of A - B in world coordinates
S32 mBits
identifies current simplex
S32 mAll_bits
all_bits = bits | last_bit
F32 mDet [16][4]
cached sub-determinants
F32 mDP [4][4]
cached dot products
S32 mLast
identifies last found support point
S32 mLast_bit
last_bit = 1< Reimplemented from: CollisionState Reimplemented from: CollisionState Reimplemented from: CollisionStatePublic Functions
GjkCollisionState()
~GjkCollisionState()
closest(VectorF & v)
compute_det()
compute_vector(S32 bits, VectorF & v)
degenerate(const VectorF & w)
distance(const MatrixF & a2w, const MatrixF & b2w, const F32 dontCareDist, const MatrixF * w2a, const MatrixF * _w2b)
getClosestPoints(Point3F & p1, Point3F & p2)
getCollisionInfo(const MatrixF & mat, Collision * info)
intersect(const MatrixF & a2w, const MatrixF & b2w)
nextBit()
reset(const MatrixF & a2w, const MatrixF & b2w)
set(Convex * a, Convex * b, const MatrixF & a2w, const MatrixF & b2w)
swap()
valid(S32 s)