Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## de.rico.engine.texture
Class TextureCoordinate

    java.lang.Object
      de.rico.engine.texture.TextureCoordinate

All Implemented Interfaces:
  java.io.Serializable

    public class TextureCoordinate

extends java.lang.Object
implements java.io.Serializable

This class represents texture coordinates for a triangle

Author:
  Frank Bruns
See Also:
  Serialized Form

Constructor Summary
`TextureCoordinate(float s, float t)` Creates a new texture coordinate

Method Summary
`float` | `getS()` Returns s-coordinate
`float` | `getT()` Returns t-coordinate
`void` | `setS(float s)` Sets the s-coordinate
`void` | `setT(float t)` Sets the t-coordinate

Methods inherited from class java.lang.Object
`equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### TextureCoordinate

    public TextureCoordinate(float s,
                             float t)

  Creates a new texture coordinate

  Parameters:
    `s` - s-coordinate
    `t` - t-coordinate

Method Detail

### getS

    public float getS()

  Returns s-coordinate

  Returns:
    s-coordinate

### setS

    public void setS(float s)

  Sets the s-coordinate

  Parameters:
    `s` - s-coordinate

### getT

    public float getT()

  Returns t-coordinate

  Returns:
    t-coordinate

### setT

    public void setT(float t)

  Sets the t-coordinate

  Parameters:
    `t` - t-coordinate

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD