Grid sector class must have the following public members:
| GRID | Grid class. |
Static Public Methods | |
| void | putRay (GRID &grid, const D3DXVECTOR3 &origin, const D3DXVECTOR3 &dir) |
| Puts ray into grid. | |
| bool | intersects (const CEntity &e, const GRID::TSector §or) |
| Checks entity-ray intersection. | |
|
||||||||||||||||
|
Checks entity-ray intersection. Checks intersection of an entity with a ray that is in a given sector. If a sector does not contain a ray, no intersection is reported.
|
|
||||||||||||||||||||
|
Puts ray into grid. For all sectors that are touched by a ray, puts the ray into the sector. Does not modify untouched sectors.
|
1.2.17