codeanticode.glgraphics
Class GLTextureGrid

java.lang.Object
  extended by codeanticode.glgraphics.GLTextureGrid

public class GLTextureGrid
extends java.lang.Object


Field Summary
protected  GL gl
           
protected  float[] gridDX
           
protected  float[] gridDY
           
protected  int numLayers
           
protected  int resX
           
protected  int resY
           
 
Constructor Summary
GLTextureGrid(GL gl)
           
GLTextureGrid(GL gl, XMLElement xml)
           
 
Method Summary
protected  void initGrid()
           
protected  void initGrid(XMLElement xml)
           
 void render(int w, int h, int l)
           
protected  void setTexCoord(int i, int j, int l)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

gl

protected GL gl

resX

protected int resX

resY

protected int resY

numLayers

protected int numLayers

gridDX

protected float[] gridDX

gridDY

protected float[] gridDY
Constructor Detail

GLTextureGrid

public GLTextureGrid(GL gl)

GLTextureGrid

public GLTextureGrid(GL gl,
                     XMLElement xml)
Method Detail

render

public void render(int w,
                   int h,
                   int l)

setTexCoord

protected void setTexCoord(int i,
                           int j,
                           int l)

initGrid

protected void initGrid()

initGrid

protected void initGrid(XMLElement xml)