Class TesselatedPolygon

All Implemented Interfaces:
IMultiColorable, ISingleColorable, IGLBindedResource, IGLRenderer, ISortableDraw

public class TesselatedPolygon extends Composite
A polygon made of two triangles with no wireframe on their adjacent side. By being an Composite, this polygon can be decomposed and is thus more flexible with a sorting algorithm.
Author:
Martin Pernollet
  • Constructor Details

    • TesselatedPolygon

      public TesselatedPolygon(Point[] points)
  • Method Details

    • newTriangle

      protected Polygon newTriangle()