Bullet Collision Detection & Physics Library
|
Typically the conservative advancement reaches solution in a few iterations, clip it to 32 for degenerate cases. More...
#include <btConvexCast.h>
Classes | |
struct | CastResult |
RayResult stores the closest result alternatively, add a callback method to decide about closest/all results. More... | |
Public Member Functions | |
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... | |
Typically the conservative advancement reaches solution in a few iterations, clip it to 32 for degenerate cases.
See discussion about this here https://bulletphysics.orgphpBB2/viewtopic.php?t=565 btConvexCast is an interface for Casting
Definition at line 39 of file btConvexCast.h.
|
virtual |
Definition at line 18 of file btConvexCast.cpp.
|
pure virtual |
cast a convex against another convex object
Implemented in btContinuousConvexCollision, btGjkConvexCast, and btSubsimplexConvexCast.