Microsoft DirectX 8.1 (C++) |
Determines if a ray intersects the volume of a sphere.
BOOL D3DXSphereBoundProbe( CONST D3DXVECTOR3* pCenter, FLOAT Radius, CONST D3DXVECTOR3* pRayPosition, CONST D3DXVECTOR3* pRayDirection );
Returns TRUE if the ray intersects the volume of the sphere. Otherwise, returns FALSE.
D3DXSphereBoundProbe determines if the ray intersects the volume of the sphere, not just the surface of the sphere.
Header: Declared in D3dx8mesh.h.
Import Library: Use D3dx8.lib.