All Packages Class Hierarchy This Package Previous Next Index
Class berkeley.cs.dmc.ji3d.Vec
java.lang.Object
|
+----berkeley.cs.dmc.ji3d.Vec
- public final class Vec
- extends Object
- implements Cloneable
-
x
-
-
y
-
-
z
-
-
Vec()
-
-
Vec(float, float, float)
-
-
Vec(Vec)
-
-
add(Vec)
-
-
add(Vec, Vec)
-
-
clone()
-
-
cross(Vec, Vec)
-
-
dot(Vec)
-
-
dot(Vec, Vec)
-
-
equals(Object)
-
-
length()
-
-
multiply(Vec)
-
-
multiply(Vec, Vec)
-
-
normalize()
-
-
normalize(Vec)
-
-
scale(float)
-
-
scale(Vec, float)
-
-
set(float, float, float)
-
-
subtract(Vec)
-
-
subtract(Vec, Vec)
-
-
toString()
-
-
zero()
-
x
public float x
y
public float y
z
public float z
Vec
public Vec(float x,
float y,
float z)
Vec
public Vec(Vec v)
Vec
public Vec()
clone
public Object clone()
- Overrides:
- clone in class Object
zero
public Vec zero()
set
public Vec set(float x,
float y,
float z)
add
public Vec add(Vec v)
add
public static Vec add(Vec a,
Vec b)
subtract
public Vec subtract(Vec v)
subtract
public static Vec subtract(Vec a,
Vec b)
multiply
public Vec multiply(Vec v)
multiply
public static Vec multiply(Vec a,
Vec b)
scale
public Vec scale(float s)
scale
public static Vec scale(Vec v,
float s)
cross
public static Vec cross(Vec a,
Vec b)
dot
public float dot(Vec v)
dot
public static float dot(Vec a,
Vec b)
length
public float length()
normalize
public void normalize() throws ArithmeticException
normalize
public static Vec normalize(Vec v) throws ArithmeticException
toString
public String toString()
- Overrides:
- toString in class Object
equals
public boolean equals(Object anObject)
- Overrides:
- equals in class Object
All Packages Class Hierarchy This Package Previous Next Index