Class Triangle

    • Constructor Detail

      • Triangle

        public Triangle()
        Initializes an empty Triangle with face status defaulting to true, and wireframe status defaulting to false.
      • Triangle

        public Triangle​(Color wire,
                        Color face)
    • Method Detail

      • begin

        protected void begin​(IPainter painter)
        Description copied from class: Geometry
        Invoke GL begin with the actual geometry type GL#GL_POINTS, GL#GL_LINES, GL#GL_TRIANGLES, GL2#GL_POLYGON ...
        Specified by:
        begin in class Geometry