Mount Fuji Engine  0.8b
MF_API MFCollisionItem* MFCollision_SphereTest ( const MFVector spherePos,
float  radius,
MFCollisionItem pItem,
MFCollisionResult pResult 
)

Tests a sphere for intersection with an arbitrary CollisionItem.

Parameters
spherePosWorld position of the sphere.
radiusRadius of the sphere.
pItemPointer to the item to test for intersection by the sphere.
pResultOptional pointer to an MFCollisionResult which will receive information about the intersection.
Returns
A pointer to the nearest CollisionItem intersected by the sphere. Return value is NULL if no intersection occurred.