Package javax.vecmath
Class TexCoord3f
java.lang.Object
javax.vecmath.Tuple3f
javax.vecmath.TexCoord3f
- All Implemented Interfaces:
Serializable
A 3 element texture coordinate that is represented by single precision
floating point x,y,z coordinates.
- See Also:
-
Field Summary
-
Constructor Summary
ConstructorsConstructorDescriptionConstructs and initializes a TexCoord3f to (0,0,0).TexCoord3f
(float[] v) Constructs and initializes a TexCoord3f from the specified array.TexCoord3f
(float x, float y, float z) Constructs and initializes a TexCoord3f from the specified xy coordinates.TexCoord3f
(TexCoord3f v1) Constructs and initializes a TexCoord3f from the specified TexCoord3f. -
Method Summary
-
Constructor Details
-
TexCoord3f
public TexCoord3f(float x, float y, float z) Constructs and initializes a TexCoord3f from the specified xy coordinates.- Parameters:
x
- the x coordinatey
- the y coordinatez
- the z coordinate
-
TexCoord3f
public TexCoord3f(float[] v) Constructs and initializes a TexCoord3f from the specified array.- Parameters:
v
- the array of length 3 containing xyz in order
-
TexCoord3f
Constructs and initializes a TexCoord3f from the specified TexCoord3f.- Parameters:
v1
- the TexCoord3f containing the initialization x y z data
-
TexCoord3f
public TexCoord3f()Constructs and initializes a TexCoord3f to (0,0,0).
-