org.jbox2d.collision
Class RayCastOutput
java.lang.Object
org.jbox2d.collision.RayCastOutput
public class RayCastOutput
- extends Object
Ray-cast output data. The ray hits at p1 + fraction * (p2 - p1), where p1 and p2
come from b2RayCastInput.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
normal
public final Vec2 normal
fraction
public float fraction
RayCastOutput
public RayCastOutput()
set
public void set(RayCastOutput rco)
Copyright © 2013. All Rights Reserved.