Package com.jhlabs.vecmath
Class Tuple4f
- java.lang.Object
-
- com.jhlabs.vecmath.Tuple4f
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
absolute()
void
absolute(Tuple4f t)
void
add(Tuple4f t)
void
add(Tuple4f t1, Tuple4f t2)
void
clamp(float min, float max)
void
get(float[] t)
void
get(Tuple4f t)
void
interpolate(Tuple4f t, float alpha)
void
negate()
void
negate(Tuple4f t)
void
scale(float s)
void
set(float[] x)
void
set(float x, float y, float z, float w)
void
set(Tuple4f t)
void
sub(Tuple4f t)
void
sub(Tuple4f t1, Tuple4f t2)
java.lang.String
toString()
-
-
-
Constructor Detail
-
Tuple4f
public Tuple4f()
-
Tuple4f
public Tuple4f(float[] x)
-
Tuple4f
public Tuple4f(float x, float y, float z, float w)
-
Tuple4f
public Tuple4f(Tuple4f t)
-
-
Method Detail
-
absolute
public void absolute()
-
absolute
public void absolute(Tuple4f t)
-
clamp
public void clamp(float min, float max)
-
set
public void set(float x, float y, float z, float w)
-
set
public void set(float[] x)
-
set
public void set(Tuple4f t)
-
get
public void get(Tuple4f t)
-
get
public void get(float[] t)
-
negate
public void negate()
-
negate
public void negate(Tuple4f t)
-
interpolate
public void interpolate(Tuple4f t, float alpha)
-
scale
public void scale(float s)
-
add
public void add(Tuple4f t)
-
sub
public void sub(Tuple4f t)
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-