| 270 | } |
| 271 | |
| 272 | bool Physics::RayCast(const Vector3& origin, const Vector3& direction, const float maxDistance, uint32 layerMask, bool hitTriggers) |
| 273 | { |
| 274 | CHECK_RETURN_DEBUG(direction.IsNormalized(), false); |
| 275 | return DefaultScene->RayCast(origin, direction, maxDistance, layerMask, hitTriggers); |
| 276 | } |
| 277 | |
| 278 | bool Physics::RayCast(const Vector3& origin, const Vector3& direction, RayCastHit& hitInfo, const float maxDistance, uint32 layerMask, bool hitTriggers) |
| 279 | { |
nothing calls this directly
no test coverage detected