|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jbox2d.collision.RayCastOutput
public class RayCastOutput
Ray-cast output data. The ray hits at p1 + fraction * (p2 - p1), where p1 and p2 come from b2RayCastInput.
Field Summary | |
---|---|
float |
fraction
|
Vec2 |
normal
|
Constructor Summary | |
---|---|
RayCastOutput()
|
Method Summary | |
---|---|
void |
set(RayCastOutput rco)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public final Vec2 normal
public float fraction
Constructor Detail |
---|
public RayCastOutput()
Method Detail |
---|
public void set(RayCastOutput rco)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |