| 1017 | }; |
| 1018 | |
| 1019 | void b2World::RayCast(b2RayCastCallback* callback, const b2Vec2& point1, const b2Vec2& point2) const |
| 1020 | { |
| 1021 | b2WorldRayCastWrapper wrapper; |
| 1022 | wrapper.broadPhase = &m_contactManager.m_broadPhase; |
| 1023 | wrapper.callback = callback; |
| 1024 | b2RayCastInput input; |
| 1025 | input.maxFraction = 1.0f; |
| 1026 | input.p1 = point1; |
| 1027 | input.p2 = point2; |
| 1028 | m_contactManager.m_broadPhase.RayCast(&wrapper, input); |
| 1029 | } |
| 1030 | |
| 1031 | void b2World::DrawShape(b2Fixture* fixture, const b2Transform& xf, const b2Color& color) |
| 1032 | { |
no outgoing calls
no test coverage detected