Main Page
Namespace List
Class Hierarchy
Alphabetical List
Compound List
File List
Namespace Members
Compound Members
Related Pages
utils Namespace Reference
Detailed Description
Some utils.
Functions
bool
boundToWorld
(D3DXVECTOR3 &or, const D3DXVECTOR3 &dir, float minZ, float maxZ)
Bounds ray origin into the world.
Function Documentation
bool utils::boundToWorld
(
D3DXVECTOR3 &
or
,
const D3DXVECTOR3 &
dir
,
float
minZ
,
float
maxZ
)
Bounds ray origin into the world.
Parameters:
or
The origin (this is modified also).
dir
The direction.
minZ
Minimum world box Z coordinate.
maxZ
Maximum world box Z coordinate.
Returns :
false if ray does not intersect the world box.
Generated on Thu Dec 5 17:27:58 2002 for LT Game Jam Session by
1.2.17