◆ WModelRayCallBack()
| VMAP::WModelRayCallBack::WModelRayCallBack |
( |
const std::vector< GroupModel > & |
mod | ) |
|
|
inline |
bool hit
Definition WorldModel.cpp:539
std::vector< GroupModel >::const_iterator models
Definition WorldModel.cpp:538
◆ operator()()
| bool VMAP::WModelRayCallBack::operator() |
( |
const G3D::Ray & |
ray, |
|
|
uint32 |
entry, |
|
|
float & |
distance, |
|
|
bool |
StopAtFirstHit |
|
) |
| |
|
inline |
533 {
534 bool result =
models[entry].IntersectRay(ray, distance, StopAtFirstHit);
535 if (result) {
hit =
true; }
537 }
References hit, and models.
◆ hit
| bool VMAP::WModelRayCallBack::hit |
◆ models
| std::vector<GroupModel>::const_iterator VMAP::WModelRayCallBack::models |
The documentation for this struct was generated from the following file: