Mount Fuji Engine  0.8b
MF_API MFCollisionItem* MFCollision_SweepSphereTest ( const MFVector sweepSpherePos,
const MFVector sweepSphereVelocity,
float  sweepSphereRadius,
MFCollisionItem pItem,
MFSweepSphereResult pResult 
)

Tests a sweeping sphere for intersection with an arbitrary CollisionItem.

Parameters
sweepSpherePosWorld position of the sweeping sphere.
sweepSphereVelocityThe sweeping sphere's velocity vector.
sweepSphereRadiusRadius of the sweeping sphere.
pItemPointer to the item to test for intersection by the sweeping sphere.
pResultOptional pointer to an MFSweepSphereResult which will receive information about the intersection.
Returns
A pointer to the nearest CollisionItem intersected by the sweeping sphere. Return value is NULL if no intersection occurred.