gzz.gfx.gl
Class GLSpans.Rect

java.lang.Object
  |
  +--gzz.gfx.gl.GLSpans.Rect
Enclosing class:
GLSpans

public static class GLSpans.Rect
extends java.lang.Object

A rectangle in a texture. XXX Make data members final XXX Maybe promote this class to gzz.gfx.gl.GL


Field Summary
 float h
          Width and height in points.
 int texId
           
 float w
          Width and height in points.
 float x0
           
 float x1
           
 float y0
           
 float y1
           
 
Constructor Summary
GLSpans.Rect()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

texId

public int texId

x0

public float x0

y0

public float y0

x1

public float x1

y1

public float y1

w

public float w
Width and height in points. Useful for aspect ratio and absolute scaling.


h

public float h
Width and height in points. Useful for aspect ratio and absolute scaling.

Constructor Detail

GLSpans.Rect

public GLSpans.Rect()