public class TextureCoords extends Object
Constructor and Description |
---|
TextureCoords(float left,
float bottom,
float right,
float top) |
Modifier and Type | Method and Description |
---|---|
float |
bottom()
Returns the bottommost (y) texture coordinate of this
rectangle.
|
float[] |
getST_LB_RB_LT_RT(float[] d,
int d_off,
float ss,
float ts)
Transfers
{s * ss, t * ts} from this object into the given float[8+d_off] in the following order: |
float |
left()
Returns the leftmost (x) texture coordinate of this
rectangle.
|
float |
right()
Returns the rightmost (x) texture coordinate of this
rectangle.
|
float |
top()
Returns the topmost (y) texture coordinate of this
rectangle.
|
String |
toString() |
public TextureCoords(float left, float bottom, float right, float top)
public float[] getST_LB_RB_LT_RT(float[] d, int d_off, float ss, float ts)
{s * ss, t * ts}
from this object into the given float[8+d_off]
in the following order:
left, bottom right, bottom left, top right top
public float left()
public float right()
public float bottom()
public float top()
Copyright 2010 JogAmp Community.