Package arc.math.geom

Class Intersector.MinimumTranslationVector

java.lang.Object
arc.math.geom.Intersector.MinimumTranslationVector
Enclosing class:
Intersector

public static class Intersector.MinimumTranslationVector extends Object
Minimum translation required to separate two polygons.
  • Field Details

    • normal

      public Vec2 normal
      Unit length vector that indicates the direction for the separation
    • depth

      public float depth
      Distance of the translation required for the separation
  • Constructor Details

    • MinimumTranslationVector

      public MinimumTranslationVector()