igeo.gui

## Class IGraphicsGL2

- java.lang.Object
- - igeo.gui.IGraphicsGL2

- All Implemented Interfaces:
    IGraphics, IGraphics3D, IGraphicsGL

      public class IGraphicsGL2
      extends java.lang.Object
      implements IGraphicsGL

  A child class of Processing's PGraphic to draw on Processing version 2.0 using OpenGL. This class also manages the IServer to manage all the objects in iGeo.
  Author:
    Satoru Sugihara

- - ### Field Summary

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `double[][][]` | `bgColor`
    `com.jogamp.opengl.util.texture.Texture` | `bgTexture`
    `int` | `bgTextureID`
    `static float[]` | `defaultGLAmbientLight`
    `static float[]` | `defaultGLDiffuseLight`
    `static float[]` | `defaultGLLightPosition`
    `static float[]` | `defaultGLSpecularLight`
    `static boolean` | `defaultGLTwoSidedLighting`
    `boolean` | `firstDraw`
    `java.awt.Graphics2D` | `g`
    `com.jogamp.opengl.GL` | `gl`
    `com.jogamp.opengl.GL2` | `gl2`
    `(package private) java.lang.String` | `imageFile`
    `IView` | `view`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `IGraphicsGL2()`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `ambient(float[] rgba)`
    `void` | `ambient(float r, float g, float b)`
    `void` | `ambient(float r, float g, float b, float a)`
    `void` | `ambient(IColor c)`
    `void` | `ambient(IColor c, float alpha)`
    `void` | `beginTexture(ITexture tex)`
    `void` | `clr(float[] rgba)` fill color (array of 4 float in order of r, g, b, a)
    `void` | `clr(float red, float green, float blue)` fill color (float 0-255)
    `void` | `clr(float red, float green, float blue, float alpha)` fill color (float 0-255)
    `void` | `clr(IColor c)` fill color
    `void` | `clr(IColor c, float alpha)`
    `void` | `diffuse(float[] rgba)`
    `void` | `diffuse(float r, float g, float b)`
    `void` | `diffuse(float r, float g, float b, float a)` diffuse color is same with color(Color c)
    `void` | `diffuse(IColor c)`
    `void` | `diffuse(IColor c, float alpha)`
    `void` | `disableLight()`
    `void` | `draw(java.util.ArrayList<IGraphicI> objects, IView v)`
    `void` | `drawBG(com.jogamp.opengl.GL gl, IView v)`
    `void` | `drawLineLoop(IVec[] p)`
    `void` | `drawLines(IVec[] p)`
    `void` | `drawLineStrip(IVec[] p)`
    `void` | `drawPoint(IVec p)`
    `void` | `drawPoints(IVec[] p)`
    `void` | `drawPolygon(IVec[] pts)`
    `void` | `drawPolygon(IVec[] pts, IColor[] clr, float alpha, boolean light)`
    `void` | `drawPolygon(IVec[] pts, IVec[] nml)`
    `void` | `drawPolygon(IVec[] pts, IVec[] nml, IColor[] clr, float alpha, boolean light)`
    `void` | `drawPolygon(IVec[] pts, IVec[] nml, IVec2f[] uv)`
    `void` | `drawPolygon(IVec[] pts, IVec2f[] uv)`
    `void` | `drawQuadMatrix(IVec[][] pts)`
    `void` | `drawQuadMatrix(IVec[][] pts, IColor[][] clr, float alpha, boolean light)`
    `void` | `drawQuadMatrix(IVec[][] pts, IVec[][] nml)`
    `void` | `drawQuadMatrix(IVec[][] pts, IVec[][] nml, IColor[][] clr, float alpha, boolean light)`
    `void` | `drawQuadMatrix(IVec[][] pts, IVec[][] nml, IVec2f[][] uv)`
    `void` | `drawQuadMatrix(IVec[][] pts, IVec2f[][] uv)`
    `void` | `drawQuads(IVec[] pts)`
    `void` | `drawQuads(IVec[] pts, IColor[] clr, float alpha, boolean light)`
    `void` | `drawQuads(IVec[] pts, IVec[] nml)`
    `void` | `drawQuads(IVec[] pts, IVec[] nml, IColor[] clr, float alpha, boolean light)`
    `void` | `drawQuads(IVec[] pts, IVec[] nml, IVec2f[] uv)`
    `void` | `drawQuads(IVec[] pts, IVec2f[] uv)`
    `void` | `drawQuadStrip(IVec[] pts)`
    `void` | `drawQuadStrip(IVec[] pts, IColor[] clr, float alpha, boolean light)`
    `void` | `drawQuadStrip(IVec[] pts, IVec[] nml)`
    `void` | `drawQuadStrip(IVec[] pts, IVec[] nml, IColor[] clr, float alpha, boolean light)`
    `void` | `drawQuadStrip(IVec[] pts, IVec[] nml, IVec2f[] uv)`
    `void` | `drawQuadStrip(IVec[] pts, IVec2f[] uv)`
    `void` | `drawTriangleFan(IVec[] pts)`
    `void` | `drawTriangleFan(IVec[] pts, IColor[] clr, float alpha, boolean light)`
    `void` | `drawTriangleFan(IVec[] pts, IVec[] nml)`
    `void` | `drawTriangleFan(IVec[] pts, IVec[] nml, IColor[] clr, float alpha, boolean light)`
    `void` | `drawTriangleFan(IVec[] pts, IVec[] nml, IVec2f[] uv)`
    `void` | `drawTriangleFan(IVec[] pts, IVec2f[] uv)`
    `void` | `drawTriangles(IVec[] pts)`
    `void` | `drawTriangles(IVec[] pts, IColor[] clr, float alpha, boolean light)`
    `void` | `drawTriangles(IVec[] pts, IVec[] nml)`
    `void` | `drawTriangles(IVec[] pts, IVec[] nml, IColor[] clr, float alpha, boolean light)`
    `void` | `drawTriangles(IVec[] pts, IVec[] nml, IVec2f[] uv)`
    `void` | `drawTriangles(IVec[] pts, IVec2f[] uv)`
    `void` | `drawTriangleStrip(IVec[] pts)`
    `void` | `drawTriangleStrip(IVec[] pts, IColor[] clr, float alpha, boolean light)`
    `void` | `drawTriangleStrip(IVec[] pts, IVec[] nml)`
    `void` | `drawTriangleStrip(IVec[] pts, IVec[] nml, IColor[] clr, float alpha, boolean light)`
    `void` | `drawTriangleStrip(IVec[] pts, IVec[] nml, IVec2f[] uv)`
    `void` | `drawTriangleStrip(IVec[] pts, IVec2f[] uv)`
    `void` | `drawView(IView view)`
    `void` | `emissive(float[] rgba)`
    `void` | `emissive(float r, float g, float b)`
    `void` | `emissive(float r, float g, float b, float a)`
    `void` | `emissive(IColor c)`
    `void` | `emissive(IColor c, float alpha)`
    `void` | `enableLight()`
    `void` | `endTexture()`
    `boolean` | `firstDraw()` check if this is the first time frame to draw
    `void` | `firstDraw(boolean f)` set the first draw flag
    `com.jogamp.opengl.GL` | `getGL()`
    `java.awt.Graphics2D` | `getGraphics()`
    `ITextureGraphicGL` | `getTextureGraphic(java.awt.image.BufferedImage image)`
    `ITextureGraphicGL` | `getTextureGraphic(java.lang.String filename)`
    `void` | `pointSize(float sz)`
    `void` | `setBGImage(java.lang.String imageFilename)`
    `void` | `setGL(com.jogamp.opengl.GL gl)`
    `void` | `setGraphics(java.awt.Graphics2D g)`
    `void` | `shininess(float s)`
    `void` | `specular(float[] rgba)`
    `void` | `specular(float r, float g, float b)`
    `void` | `specular(float r, float g, float b, float a)`
    `void` | `specular(IColor c)`
    `void` | `specular(IColor c, float alpha)`
    `void` | `stroke(float[] rgba)` stroke color (array of 4 float in order of r, g, b, a)
    `void` | `stroke(float red, float green, float blue)` stroke color (float 0-255)
    `void` | `stroke(float red, float green, float blue, float alpha)` stroke color (float 0-255)
    `void` | `stroke(IColor c)` in GL, stroke color and fill color use both same glColor
    `IGraphicMode.GraphicType` | `type()`
    `IView` | `view()`
    `void` | `weight(double w)`
    `void` | `weight(float w)`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Field Detail

    - #### defaultGLLightPosition

          public static float[] defaultGLLightPosition

    - #### defaultGLAmbientLight

          public static float[] defaultGLAmbientLight

    - #### defaultGLDiffuseLight

          public static float[] defaultGLDiffuseLight

    - #### defaultGLSpecularLight

          public static float[] defaultGLSpecularLight

    - #### defaultGLTwoSidedLighting

          public static boolean defaultGLTwoSidedLighting

    - #### gl

          public com.jogamp.opengl.GL gl

    - #### gl2

          public com.jogamp.opengl.GL2 gl2

    - #### g

          public java.awt.Graphics2D g

    - #### view

          public IView view

    - #### bgColor

          public double[][][] bgColor

    - #### bgTexture

          public com.jogamp.opengl.util.texture.Texture bgTexture

    - #### bgTextureID

          public int bgTextureID

    - #### firstDraw

          public boolean firstDraw

    - #### imageFile

          java.lang.String imageFile

  - ### Constructor Detail

    - #### IGraphicsGL2

          public IGraphicsGL2()

  - ### Method Detail

    - #### view

          public IView view()

      Specified by:
        `view` in interface `IGraphics`

    - #### setGL

          public void setGL(com.jogamp.opengl.GL gl)

      Specified by:
        `setGL` in interface `IGraphicsGL`

    - #### setGraphics

          public void setGraphics(java.awt.Graphics2D g)

    - #### getGL

          public com.jogamp.opengl.GL getGL()

      Specified by:
        `getGL` in interface `IGraphicsGL`

    - #### getGraphics

          public java.awt.Graphics2D getGraphics()

    - #### type

          public IGraphicMode.GraphicType type()

      Specified by:
        `type` in interface `IGraphics`

    - #### setBGImage

          public void setBGImage(java.lang.String imageFilename)

      Specified by:
        `setBGImage` in interface `IGraphicsGL`

    - #### drawBG

          public void drawBG(com.jogamp.opengl.GL gl,
                             IView v)

    - #### drawView

          public void drawView(IView view)

    - #### draw

          public void draw(java.util.ArrayList<IGraphicI> objects,
                           IView v)

      Specified by:
        `draw` in interface `IGraphics`

    - #### firstDraw

          public boolean firstDraw()

      Description copied from interface: `IGraphics`
      check if this is the first time frame to draw
      Specified by:
        `firstDraw` in interface `IGraphics`

    - #### firstDraw

          public void firstDraw(boolean f)

      Description copied from interface: `IGraphics`
      set the first draw flag
      Specified by:
        `firstDraw` in interface `IGraphics`

    - #### clr

          public void clr(IColor c)

      Description copied from interface: `IGraphics`
      fill color
      Specified by:
        `clr` in interface `IGraphics`

    - #### clr

          public void clr(float[] rgba)

      Description copied from interface: `IGraphics`
      fill color (array of 4 float in order of r, g, b, a)
      Specified by:
        `clr` in interface `IGraphics`

    - #### clr

          public void clr(float red,
                          float green,
                          float blue,
                          float alpha)

      Description copied from interface: `IGraphics`
      fill color (float 0-255)
      Specified by:
        `clr` in interface `IGraphics`

    - #### clr

          public void clr(float red,
                          float green,
                          float blue)

      Description copied from interface: `IGraphics`
      fill color (float 0-255)
      Specified by:
        `clr` in interface `IGraphics`

    - #### clr

          public void clr(IColor c,
                          float alpha)

    - #### stroke

          public void stroke(IColor c)

      in GL, stroke color and fill color use both same glColor
      Specified by:
        `stroke` in interface `IGraphics`

    - #### stroke

          public void stroke(float[] rgba)

      Description copied from interface: `IGraphics`
      stroke color (array of 4 float in order of r, g, b, a)
      Specified by:
        `stroke` in interface `IGraphics`

    - #### stroke

          public void stroke(float red,
                             float green,
                             float blue,
                             float alpha)

      Description copied from interface: `IGraphics`
      stroke color (float 0-255)
      Specified by:
        `stroke` in interface `IGraphics`

    - #### stroke

          public void stroke(float red,
                             float green,
                             float blue)

      Description copied from interface: `IGraphics`
      stroke color (float 0-255)
      Specified by:
        `stroke` in interface `IGraphics`

    - #### weight

          public void weight(double w)

    - #### weight

          public void weight(float w)

      Specified by:
        `weight` in interface `IGraphics`

    - #### diffuse

          public void diffuse(float[] rgba)

      Specified by:
        `diffuse` in interface `IGraphics3D`

    - #### diffuse

          public void diffuse(float r,
                              float g,
                              float b,
                              float a)

      Description copied from interface: `IGraphics3D`
      diffuse color is same with color(Color c)
      Specified by:
        `diffuse` in interface `IGraphics3D`

    - #### diffuse

          public void diffuse(float r,
                              float g,
                              float b)

      Specified by:
        `diffuse` in interface `IGraphics3D`

    - #### diffuse

          public void diffuse(IColor c)

      Specified by:
        `diffuse` in interface `IGraphics3D`

    - #### diffuse

          public void diffuse(IColor c,
                              float alpha)

      Specified by:
        `diffuse` in interface `IGraphics3D`

    - #### ambient

          public void ambient(float[] rgba)

      Specified by:
        `ambient` in interface `IGraphics3D`

    - #### ambient

          public void ambient(float r,
                              float g,
                              float b,
                              float a)

      Specified by:
        `ambient` in interface `IGraphics3D`

    - #### ambient

          public void ambient(float r,
                              float g,
                              float b)

      Specified by:
        `ambient` in interface `IGraphics3D`

    - #### ambient

          public void ambient(IColor c)

      Specified by:
        `ambient` in interface `IGraphics3D`

    - #### ambient

          public void ambient(IColor c,
                              float alpha)

      Specified by:
        `ambient` in interface `IGraphics3D`

    - #### specular

          public void specular(float[] rgba)

      Specified by:
        `specular` in interface `IGraphics3D`

    - #### specular

          public void specular(float r,
                               float g,
                               float b,
                               float a)

      Specified by:
        `specular` in interface `IGraphics3D`

    - #### specular

          public void specular(float r,
                               float g,
                               float b)

      Specified by:
        `specular` in interface `IGraphics3D`

    - #### specular

          public void specular(IColor c)

      Specified by:
        `specular` in interface `IGraphics3D`

    - #### specular

          public void specular(IColor c,
                               float alpha)

      Specified by:
        `specular` in interface `IGraphics3D`

    - #### emissive

          public void emissive(float[] rgba)

      Specified by:
        `emissive` in interface `IGraphics3D`

    - #### emissive

          public void emissive(float r,
                               float g,
                               float b,
                               float a)

      Specified by:
        `emissive` in interface `IGraphics3D`

    - #### emissive

          public void emissive(float r,
                               float g,
                               float b)

      Specified by:
        `emissive` in interface `IGraphics3D`

    - #### emissive

          public void emissive(IColor c)

      Specified by:
        `emissive` in interface `IGraphics3D`

    - #### emissive

          public void emissive(IColor c,
                               float alpha)

      Specified by:
        `emissive` in interface `IGraphics3D`

    - #### shininess

          public void shininess(float s)

      Specified by:
        `shininess` in interface `IGraphics3D`

    - #### enableLight

          public void enableLight()

      Specified by:
        `enableLight` in interface `IGraphics3D`

    - #### disableLight

          public void disableLight()

      Specified by:
        `disableLight` in interface `IGraphics3D`

    - #### pointSize

          public void pointSize(float sz)

      Specified by:
        `pointSize` in interface `IGraphics3D`

    - #### drawPoint

          public void drawPoint(IVec p)

      Specified by:
        `drawPoint` in interface `IGraphics3D`

    - #### drawPoints

          public void drawPoints(IVec[] p)

      Specified by:
        `drawPoints` in interface `IGraphics3D`

    - #### drawLines

          public void drawLines(IVec[] p)

      Specified by:
        `drawLines` in interface `IGraphics3D`

    - #### drawLineStrip

          public void drawLineStrip(IVec[] p)

      Specified by:
        `drawLineStrip` in interface `IGraphics3D`

    - #### drawLineLoop

          public void drawLineLoop(IVec[] p)

      Specified by:
        `drawLineLoop` in interface `IGraphics3D`

    - #### drawPolygon

          public void drawPolygon(IVec[] pts,
                                  IVec[] nml)

      Specified by:
        `drawPolygon` in interface `IGraphics3D`

    - #### drawPolygon

          public void drawPolygon(IVec[] pts,
                                  IVec[] nml,
                                  IVec2f[] uv)

      Specified by:
        `drawPolygon` in interface `IGraphics3D`

    - #### drawPolygon

          public void drawPolygon(IVec[] pts,
                                  IVec[] nml,
                                  IColor[] clr,
                                  float alpha,
                                  boolean light)

      Specified by:
        `drawPolygon` in interface `IGraphics3D`

    - #### drawPolygon

          public void drawPolygon(IVec[] pts)

      Specified by:
        `drawPolygon` in interface `IGraphics3D`

    - #### drawPolygon

          public void drawPolygon(IVec[] pts,
                                  IVec2f[] uv)

      Specified by:
        `drawPolygon` in interface `IGraphics3D`

    - #### drawPolygon

          public void drawPolygon(IVec[] pts,
                                  IColor[] clr,
                                  float alpha,
                                  boolean light)

      Specified by:
        `drawPolygon` in interface `IGraphics3D`

    - #### drawQuads

          public void drawQuads(IVec[] pts)

      Specified by:
        `drawQuads` in interface `IGraphics3D`

    - #### drawQuads

          public void drawQuads(IVec[] pts,
                                IVec2f[] uv)

      Specified by:
        `drawQuads` in interface `IGraphics3D`

    - #### drawQuads

          public void drawQuads(IVec[] pts,
                                IColor[] clr,
                                float alpha,
                                boolean light)

      Specified by:
        `drawQuads` in interface `IGraphics3D`

    - #### drawQuads

          public void drawQuads(IVec[] pts,
                                IVec[] nml)

      Specified by:
        `drawQuads` in interface `IGraphics3D`

    - #### drawQuads

          public void drawQuads(IVec[] pts,
                                IVec[] nml,
                                IVec2f[] uv)

      Specified by:
        `drawQuads` in interface `IGraphics3D`

    - #### drawQuads

          public void drawQuads(IVec[] pts,
                                IVec[] nml,
                                IColor[] clr,
                                float alpha,
                                boolean light)

      Specified by:
        `drawQuads` in interface `IGraphics3D`

    - #### drawQuadStrip

          public void drawQuadStrip(IVec[] pts)

      Specified by:
        `drawQuadStrip` in interface `IGraphics3D`

    - #### drawQuadStrip

          public void drawQuadStrip(IVec[] pts,
                                    IVec2f[] uv)

      Specified by:
        `drawQuadStrip` in interface `IGraphics3D`

    - #### drawQuadStrip

          public void drawQuadStrip(IVec[] pts,
                                    IColor[] clr,
                                    float alpha,
                                    boolean light)

      Specified by:
        `drawQuadStrip` in interface `IGraphics3D`

    - #### drawQuadStrip

          public void drawQuadStrip(IVec[] pts,
                                    IVec[] nml)

      Specified by:
        `drawQuadStrip` in interface `IGraphics3D`

    - #### drawQuadStrip

          public void drawQuadStrip(IVec[] pts,
                                    IVec[] nml,
                                    IVec2f[] uv)

      Specified by:
        `drawQuadStrip` in interface `IGraphics3D`

    - #### drawQuadStrip

          public void drawQuadStrip(IVec[] pts,
                                    IVec[] nml,
                                    IColor[] clr,
                                    float alpha,
                                    boolean light)

      Specified by:
        `drawQuadStrip` in interface `IGraphics3D`

    - #### drawQuadMatrix

          public void drawQuadMatrix(IVec[][] pts)

      Specified by:
        `drawQuadMatrix` in interface `IGraphics3D`

    - #### drawQuadMatrix

          public void drawQuadMatrix(IVec[][] pts,
                                     IVec2f[][] uv)

      Specified by:
        `drawQuadMatrix` in interface `IGraphics3D`

    - #### drawQuadMatrix

          public void drawQuadMatrix(IVec[][] pts,
                                     IColor[][] clr,
                                     float alpha,
                                     boolean light)

      Specified by:
        `drawQuadMatrix` in interface `IGraphics3D`

    - #### drawQuadMatrix

          public void drawQuadMatrix(IVec[][] pts,
                                     IVec[][] nml)

      Specified by:
        `drawQuadMatrix` in interface `IGraphics3D`

    - #### drawQuadMatrix

          public void drawQuadMatrix(IVec[][] pts,
                                     IVec[][] nml,
                                     IVec2f[][] uv)

      Specified by:
        `drawQuadMatrix` in interface `IGraphics3D`

    - #### drawQuadMatrix

          public void drawQuadMatrix(IVec[][] pts,
                                     IVec[][] nml,
                                     IColor[][] clr,
                                     float alpha,
                                     boolean light)

      Specified by:
        `drawQuadMatrix` in interface `IGraphics3D`

    - #### drawTriangles

          public void drawTriangles(IVec[] pts,
                                    IVec[] nml)

      Specified by:
        `drawTriangles` in interface `IGraphics3D`

    - #### drawTriangles

          public void drawTriangles(IVec[] pts,
                                    IVec[] nml,
                                    IVec2f[] uv)

      Specified by:
        `drawTriangles` in interface `IGraphics3D`

    - #### drawTriangles

          public void drawTriangles(IVec[] pts,
                                    IVec[] nml,
                                    IColor[] clr,
                                    float alpha,
                                    boolean light)

      Specified by:
        `drawTriangles` in interface `IGraphics3D`

    - #### drawTriangles

          public void drawTriangles(IVec[] pts)

      Specified by:
        `drawTriangles` in interface `IGraphics3D`

    - #### drawTriangles

          public void drawTriangles(IVec[] pts,
                                    IVec2f[] uv)

      Specified by:
        `drawTriangles` in interface `IGraphics3D`

    - #### drawTriangles

          public void drawTriangles(IVec[] pts,
                                    IColor[] clr,
                                    float alpha,
                                    boolean light)

      Specified by:
        `drawTriangles` in interface `IGraphics3D`

    - #### drawTriangleStrip

          public void drawTriangleStrip(IVec[] pts,
                                        IVec[] nml)

      Specified by:
        `drawTriangleStrip` in interface `IGraphics3D`

    - #### drawTriangleStrip

          public void drawTriangleStrip(IVec[] pts,
                                        IVec[] nml,
                                        IVec2f[] uv)

      Specified by:
        `drawTriangleStrip` in interface `IGraphics3D`

    - #### drawTriangleStrip

          public void drawTriangleStrip(IVec[] pts,
                                        IVec[] nml,
                                        IColor[] clr,
                                        float alpha,
                                        boolean light)

      Specified by:
        `drawTriangleStrip` in interface `IGraphics3D`

    - #### drawTriangleStrip

          public void drawTriangleStrip(IVec[] pts)

      Specified by:
        `drawTriangleStrip` in interface `IGraphics3D`

    - #### drawTriangleStrip

          public void drawTriangleStrip(IVec[] pts,
                                        IVec2f[] uv)

      Specified by:
        `drawTriangleStrip` in interface `IGraphics3D`

    - #### drawTriangleStrip

          public void drawTriangleStrip(IVec[] pts,
                                        IColor[] clr,
                                        float alpha,
                                        boolean light)

      Specified by:
        `drawTriangleStrip` in interface `IGraphics3D`

    - #### drawTriangleFan

          public void drawTriangleFan(IVec[] pts,
                                      IVec[] nml)

      Specified by:
        `drawTriangleFan` in interface `IGraphics3D`

    - #### drawTriangleFan

          public void drawTriangleFan(IVec[] pts,
                                      IVec[] nml,
                                      IVec2f[] uv)

      Specified by:
        `drawTriangleFan` in interface `IGraphics3D`

    - #### drawTriangleFan

          public void drawTriangleFan(IVec[] pts,
                                      IVec[] nml,
                                      IColor[] clr,
                                      float alpha,
                                      boolean light)

      Specified by:
        `drawTriangleFan` in interface `IGraphics3D`

    - #### drawTriangleFan

          public void drawTriangleFan(IVec[] pts)

      Specified by:
        `drawTriangleFan` in interface `IGraphics3D`

    - #### drawTriangleFan

          public void drawTriangleFan(IVec[] pts,
                                      IVec2f[] uv)

      Specified by:
        `drawTriangleFan` in interface `IGraphics3D`

    - #### drawTriangleFan

          public void drawTriangleFan(IVec[] pts,
                                      IColor[] clr,
                                      float alpha,
                                      boolean light)

      Specified by:
        `drawTriangleFan` in interface `IGraphics3D`

    - #### beginTexture

          public void beginTexture(ITexture tex)

      Specified by:
        `beginTexture` in interface `IGraphics3D`

    - #### endTexture

          public void endTexture()

      Specified by:
        `endTexture` in interface `IGraphics3D`

    - #### getTextureGraphic

          public ITextureGraphicGL getTextureGraphic(java.lang.String filename)

      Specified by:
        `getTextureGraphic` in interface `IGraphicsGL`

    - #### getTextureGraphic

          public ITextureGraphicGL getTextureGraphic(java.awt.image.BufferedImage image)

      Specified by:
        `getTextureGraphic` in interface `IGraphicsGL`