All Packages Class Hierarchy This Package Previous Next Index
Class berkeley.cs.dmc.ji3d.Vec3
java.lang.Object
|
+----berkeley.cs.dmc.ji3d.Base
|
+----berkeley.cs.dmc.ji3d.Vec3
- public final class Vec3
- extends Base
- implements Cloneable
-
x
-
-
y
-
-
z
-
-
Vec3()
-
-
Vec3(float, float, float)
-
-
Vec3(Vec3)
-
-
Vec3(Vec4)
-
-
add(Vec3)
-
-
add(Vec3, Vec3)
-
-
clone()
-
-
cross(Vec3, Vec3)
-
-
dist(Vec3, Vec3)
-
-
dot(Vec3)
-
-
dot(Vec3, Vec3)
-
-
equals(Object)
-
-
length()
-
-
mul(Vec3)
-
-
mul(Vec3, Vec3)
-
-
normalize()
-
-
normalize(Vec3)
-
-
scale(float)
-
-
scale(Vec3, float)
-
-
set(float, float, float)
-
-
set(Vec4)
-
-
sub(Vec3)
-
-
sub(Vec3, Vec3)
-
-
sub(Vec4, Vec4)
-
-
toString()
-
-
xform(Mat4, Vec2)
-
-
xform(Mat4, Vec3)
-
-
xform(Mat4, Vec4)
-
-
xformNormal(Mat4, Vec3)
-
-
xformNormalT(Mat4, Vec3)
-
-
zero()
-
x
public float x
y
public float y
z
public float z
Vec3
public Vec3(float x,
float y,
float z)
Vec3
public Vec3(Vec3 v)
Vec3
public Vec3(Vec4 v)
Vec3
public Vec3()
clone
public final Object clone()
- Overrides:
- clone in class Object
zero
public final Vec3 zero()
set
public final Vec3 set(Vec4 v)
set
public final Vec3 set(float x,
float y,
float z)
add
public final Vec3 add(Vec3 a,
Vec3 b)
add
public final Vec3 add(Vec3 v)
sub
public final Vec3 sub(Vec3 v)
sub
public final Vec3 sub(Vec3 a,
Vec3 b)
sub
public final Vec3 sub(Vec4 a,
Vec4 b)
mul
public final Vec3 mul(Vec3 v)
mul
public final Vec3 mul(Vec3 a,
Vec3 b)
scale
public final Vec3 scale(float s)
scale
public final Vec3 scale(Vec3 v,
float s)
cross
public final Vec3 cross(Vec3 a,
Vec3 b)
dot
public final float dot(Vec3 v)
dot
public static final float dot(Vec3 a,
Vec3 b)
length
public final float length()
dist
public static final float dist(Vec3 a,
Vec3 b)
normalize
public final void normalize() throws ArithmeticException
normalize
public final void normalize(Vec3 v) throws ArithmeticException
xform
public final Vec3 xform(Mat4 m,
Vec2 v)
xform
public final Vec3 xform(Mat4 m,
Vec3 v)
xform
public final Vec3 xform(Mat4 m,
Vec4 v)
xformNormal
public final Vec3 xformNormal(Mat4 m,
Vec3 v)
xformNormalT
public final Vec3 xformNormalT(Mat4 m,
Vec3 v)
toString
public final String toString()
- Overrides:
- toString in class Object
equals
public final boolean equals(Object anObject)
- Overrides:
- equals in class Object
All Packages Class Hierarchy This Package Previous Next Index