Class RayCastOutput


  • public class RayCastOutput
    extends java.lang.Object
    Ray-cast output data. The ray hits at p1 + fraction * (p2 - p1), where p1 and p2 come from b2RayCastInput.
    • Constructor Summary

      Constructors 
      Constructor Description
      RayCastOutput()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void set​(RayCastOutput rco)  
      • Methods inherited from class java.lang.Object

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

      • normal

        public final Vec2 normal
      • fraction

        public float fraction
    • Constructor Detail

      • RayCastOutput

        public RayCastOutput()