| 436 | } |
| 437 | |
| 438 | void PhysicsWorld::collisionSeparateCallback(PhysicsContact& contact) |
| 439 | { |
| 440 | if (!contact.isNotificationEnabled()) |
| 441 | { |
| 442 | return; |
| 443 | } |
| 444 | |
| 445 | contact.setEventCode(PhysicsContact::EventCode::SEPARATE); |
| 446 | contact.setWorld(this); |
| 447 | _eventDispatcher->dispatchEvent(&contact); |
| 448 | } |
| 449 | |
| 450 | void PhysicsWorld::rayCast(PhysicsRayCastCallbackFunc func, const Vec2& point1, const Vec2& point2, void* data) |
| 451 | { |
no test coverage detected