public class TexturedPolygon extends AbstractCoordinateShape
Textured polygon.

 This is how perspective-correct texture rendering is implemented:
 If polygon is sufficiently small, it is rendered without perspective correction.
 Otherwise, it is sliced into smaller polygons.
 
  • Field Details

    • texture

      public final Texture texture
    • showBorders

      public boolean showBorders
      If true then polygon borders will be drawn. It is used for debugging purposes.
  • Constructor Details

  • Method Details