Class Quad

    • Field Detail

      • color

        protected final Color color
      • width

        protected final float width
      • height

        protected final float height
      • modelMatrix

        public float[] modelMatrix
        A matrix used by this model.
    • Constructor Detail

      • Quad

        public Quad​(Color color,
                    float width,
                    float height)
        Default Constructor.
    • Method Detail

      • draw

        public void draw​(int frame)
        Description copied from interface: Drawable
        Draws the drawable on the given frame.
        Specified by:
        draw in interface Drawable
        Overrides:
        draw in class DisplayObject