Bullet Collision Detection & Physics Library
|
GjkConvexCast performs a raycast on a convex object using support mapping. More...
#include <btGjkConvexCast.h>
Public Member Functions | |
btGjkConvexCast (const btConvexShape *convexA, const btConvexShape *convexB, btSimplexSolverInterface *simplexSolver) | |
virtual bool | calcTimeOfImpact (const btTransform &fromA, const btTransform &toA, const btTransform &fromB, const btTransform &toB, CastResult &result) |
cast a convex against another convex object More... | |
Public Member Functions inherited from btConvexCast | |
virtual | ~btConvexCast () |
virtual bool | calcTimeOfImpact (const btTransform &fromA, const btTransform &toA, const btTransform &fromB, const btTransform &toB, CastResult &result)=0 |
cast a convex against another convex object More... | |
Private Attributes | |
btSimplexSolverInterface * | m_simplexSolver |
const btConvexShape * | m_convexA |
const btConvexShape * | m_convexB |
GjkConvexCast performs a raycast on a convex object using support mapping.
Definition at line 28 of file btGjkConvexCast.h.
btGjkConvexCast::btGjkConvexCast | ( | const btConvexShape * | convexA, |
const btConvexShape * | convexB, | ||
btSimplexSolverInterface * | simplexSolver | ||
) |
Definition at line 28 of file btGjkConvexCast.cpp.
|
virtual |
cast a convex against another convex object
compute linear velocity for this interval, to interpolate
Implements btConvexCast.
Definition at line 35 of file btGjkConvexCast.cpp.
|
private |
Definition at line 31 of file btGjkConvexCast.h.
|
private |
Definition at line 32 of file btGjkConvexCast.h.
|
private |
Definition at line 30 of file btGjkConvexCast.h.