All Packages Class Hierarchy This Package Previous Next Index
Class java.vecmath.TexCoord2f
java.lang.Object
|
+----java.vecmath.Tuple2f
|
+----java.vecmath.TexCoord2f
- public class TexCoord2f
- extends Tuple2f
A 2 element vector that is represented by single precision floating
point x,y coordinates.
-
TexCoord2f()
- Constructs and initializes a Vec2f to (0,0).
-
TexCoord2f(float, float)
- Constructs and initializes a Vec2f from the specified xy coordinates.
-
TexCoord2f(float[])
- Constructs and initializes a Vec2f from the specified array.
-
TexCoord2f(TexCoord2f)
- Constructs and initializes a Vec2f from the specified Vec2f.
TexCoord2f
public TexCoord2f(float x,
float y)
- Constructs and initializes a Vec2f from the specified xy coordinates.
- Parameters:
- x - the x coordinate
- y - the y coordinate
- Returns:
- a new Vec2f
TexCoord2f
public TexCoord2f(float v[])
- Constructs and initializes a Vec2f from the specified array.
- Parameters:
- v - the array of length 2 containing xy in order
- Returns:
- a new Vec2f
TexCoord2f
public TexCoord2f(TexCoord2f v1)
- Constructs and initializes a Vec2f from the specified Vec2f.
- Parameters:
- v1 - the Vec2f containing the initialization x y data
- Returns:
- a new Vec2f
TexCoord2f
public TexCoord2f()
- Constructs and initializes a Vec2f to (0,0).
- Returns:
- a new Vec2f
All Packages Class Hierarchy This Package Previous Next Index