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