| 246 | } |
| 247 | |
| 248 | void Physics::FlushRequests() |
| 249 | { |
| 250 | PROFILE_CPU_NAMED("Physics.FlushRequests"); |
| 251 | PROFILE_MEM(Physics); |
| 252 | for (PhysicsScene* scene : Scenes) |
| 253 | PhysicsBackend::FlushRequests(scene->GetPhysicsScene()); |
| 254 | PhysicsBackend::FlushRequests(); |
| 255 | } |
| 256 | |
| 257 | bool Physics::LineCast(const Vector3& start, const Vector3& end, uint32 layerMask, bool hitTriggers) |
| 258 | { |
nothing calls this directly
no test coverage detected