Class RayCastInput

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

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

    Fields
    Modifier and Type
    Field
    Description
    float
     
    final Vec2
     
    final Vec2
     
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • p1

      public final Vec2 p1
    • p2

      public final Vec2 p2
    • maxFraction

      public float maxFraction
  • Constructor Details

    • RayCastInput

      public RayCastInput()
  • Method Details