|
bool GtpVisibility::QueryManager::ShootRay |
( |
const Ray & |
ray, |
|
|
std::vector< Mesh * > * |
visibleMeshes, |
|
|
bool |
isGlobalLine = false |
|
) |
[virtual] |
|
|
Ray shooting intreface: finds an intersection with objects in the scene.
- Parameters:
-
| ray | The given input ray (assuming the ray direction is normalized) |
| visibleMeshes | List of meshes intersecting the ray |
| isGlobalLine | If false only first intersection with opaque object is returned. Otherwise all intersections of the ray with the scene are found. |
- Returns:
- true if there is any intersection.
|
|