Class RayCastInput

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

public class RayCastInput extends Object
Ray-cast input data. The ray extends from p1 to p1 + maxFraction * (p2 - p1).
  • Field Details

    • p1

      public final Vec2 p1
    • p2

      public final Vec2 p2
    • maxFraction

      public float maxFraction
  • Constructor Details

    • RayCastInput

      public RayCastInput()
  • Method Details