◆ WModelRayCallBack()
VMAP::WModelRayCallBack::WModelRayCallBack |
( |
const std::vector< GroupModel > & |
mod | ) |
|
|
inline |
bool hit
Definition WorldModel.cpp:514
std::vector< GroupModel >::const_iterator models
Definition WorldModel.cpp:513
◆ operator()()
bool VMAP::WModelRayCallBack::operator() |
( |
const G3D::Ray & |
ray, |
|
|
uint32 |
entry, |
|
|
float & |
distance, |
|
|
bool |
StopAtFirstHit |
|
) |
| |
|
inline |
508 {
509 bool result =
models[entry].IntersectRay(ray, distance, StopAtFirstHit);
510 if (result) {
hit =
true; }
512 }
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: