Package javax.vecmath
Class TexCoord4f
java.lang.Object
javax.vecmath.Tuple4f
javax.vecmath.TexCoord4f
- All Implemented Interfaces:
Serializable
,Cloneable
A 4 element texture coordinate that is represented by single precision
floating point x,y,z,w coordinates.
- Since:
- vecmath 1.3
- See Also:
-
Field Summary
-
Constructor Summary
ConstructorsConstructorDescriptionConstructs and initializes a TexCoord4f to (0,0,0,0).TexCoord4f
(float[] v) Constructs and initializes a TexCoord4f from the array of length 4.TexCoord4f
(float x, float y, float z, float w) Constructs and initializes a TexCoord4f from the specified xyzw coordinates.TexCoord4f
(TexCoord4f v1) Constructs and initializes a TexCoord4f from the specified TexCoord4f.TexCoord4f
(Tuple4d t1) Constructs and initializes a TexCoord4f from the specified Tuple4d.TexCoord4f
(Tuple4f t1) Constructs and initializes a TexCoord4f from the specified Tuple4f. -
Method Summary
Methods inherited from class javax.vecmath.Tuple4f
absolute, absolute, add, add, clamp, clamp, clampMax, clampMax, clampMin, clampMin, clone, epsilonEquals, equals, equals, get, get, getW, getX, getY, getZ, hashCode, interpolate, interpolate, negate, negate, scale, scale, scaleAdd, scaleAdd, set, set, set, set, setW, setX, setY, setZ, sub, sub, toString
-
Constructor Details
-
TexCoord4f
public TexCoord4f(float x, float y, float z, float w) Constructs and initializes a TexCoord4f from the specified xyzw coordinates.- Parameters:
x
- the x coordinatey
- the y coordinatez
- the z coordinatew
- the w coordinate
-
TexCoord4f
public TexCoord4f(float[] v) Constructs and initializes a TexCoord4f from the array of length 4.- Parameters:
v
- the array of length w containing xyzw in order
-
TexCoord4f
Constructs and initializes a TexCoord4f from the specified TexCoord4f.- Parameters:
v1
- the TexCoord4f containing the initialization x y z w data
-
TexCoord4f
Constructs and initializes a TexCoord4f from the specified Tuple4f.- Parameters:
t1
- the Tuple4f containing the initialization x y z w data
-
TexCoord4f
Constructs and initializes a TexCoord4f from the specified Tuple4d.- Parameters:
t1
- the Tuple4d containing the initialization x y z w data
-
TexCoord4f
public TexCoord4f()Constructs and initializes a TexCoord4f to (0,0,0,0).
-