Package org.jbox2d.dynamics
Class WorldRayCastWrapper
java.lang.Object
org.jbox2d.dynamics.WorldRayCastWrapper
- All Implemented Interfaces:
TreeRayCastCallback
-
Field Summary
FieldsModifier and TypeFieldDescription(package private) BroadPhase
(package private) RayCastCallback
private final RayCastOutput
private final Vec2
private final Vec2
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
output
-
temp
-
point
-
broadPhase
BroadPhase broadPhase -
callback
RayCastCallback callback
-
-
Constructor Details
-
WorldRayCastWrapper
WorldRayCastWrapper()
-
-
Method Details
-
raycastCallback
- Specified by:
raycastCallback
in interfaceTreeRayCastCallback
- Parameters:
input
-nodeId
-- Returns:
- the fraction to the node
-