Class Shape

java.lang.Object
buildengine.math.shape.Shape
Direct Known Subclasses:
Circle, Polygon

public abstract class Shape extends Object
Base abstract shape object
  • Field Details

    • center

      protected final Vector2f center
    • diameter

      protected final float diameter
  • Constructor Details

    • Shape

      public Shape(Vector2f center, float diameter)
  • Method Details

    • getCenter

      public Vector2f getCenter()
    • getDiameter

      public float getDiameter()