| 306 | } |
| 307 | |
| 308 | bool Physics::SphereCast(const Vector3& center, const float radius, const Vector3& direction, const float maxDistance, uint32 layerMask, bool hitTriggers) |
| 309 | { |
| 310 | CHECK_RETURN_DEBUG(direction.IsNormalized(), false); |
| 311 | return DefaultScene->SphereCast(center, radius, direction, maxDistance, layerMask, hitTriggers); |
| 312 | } |
| 313 | |
| 314 | bool Physics::SphereCast(const Vector3& center, const float radius, const Vector3& direction, RayCastHit& hitInfo, const float maxDistance, uint32 layerMask, bool hitTriggers) |
| 315 | { |
nothing calls this directly
no test coverage detected