org.jbox2d.collision
Class RayCastInput

java.lang.Object
  extended by org.jbox2d.collision.RayCastInput

public class RayCastInput
extends Object

Ray-cast input data. The ray extends from p1 to p1 + maxFraction * (p2 - p1).


Field Summary
 float maxFraction
           
 Vec2 p1
           
 Vec2 p2
           
 
Constructor Summary
RayCastInput()
           
 
Method Summary
 void set(RayCastInput rci)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

p1

public final Vec2 p1

p2

public final Vec2 p2

maxFraction

public float maxFraction
Constructor Detail

RayCastInput

public RayCastInput()
Method Detail

set

public void set(RayCastInput rci)


Copyright © 2013. All Rights Reserved.