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

## simogl.texture
Class TextureCoordinate

    java.lang.Object
      simogl.texture.TextureCoordinate

    public class TextureCoordinate

extends java.lang.Object

This class represents texture coordinates for a triangle

Author:
  Frank Bruns

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 | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD