public interface RayCastCallback
Modifier and Type | Method and Description |
---|---|
float |
reportFixture(Fixture fixture,
Vec2 point,
Vec2 normal,
float fraction)
Called for each fixture found in the query.
|
float reportFixture(Fixture fixture, Vec2 point, Vec2 normal, float fraction)
fixture
- the fixture hit by the raypoint
- the point of initial intersectionnormal
- the normal vector at the point of intersectionfixture
- point
- normal
- fraction
- Copyright © 2017. All Rights Reserved.