All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class berkeley.cs.dmc.ji3d.Vec4

java.lang.Object
   |
   +----berkeley.cs.dmc.ji3d.Base
           |
           +----berkeley.cs.dmc.ji3d.Vec4

public final class Vec4
extends Base
implements Cloneable

Variable Index

 o w
 o x
 o y
 o z

Constructor Index

 o Vec4()
 o Vec4(float, float, float)
 o Vec4(float, float, float, float)
 o Vec4(Vec3)
 o Vec4(Vec4)

Method Index

 o add(Vec3)
 o add(Vec4)
 o add(Vec4, Vec3)
 o clone()
 o dot(Vec4)
 o dot(Vec4, Vec4)
 o equals(Object)
 o scale(float)
 o scale(Vec4, float)
 o set(float, float, float)
 o set(float, float, float, float)
 o sub(Vec3)
 o sub(Vec4, Vec3)
 o toString()
 o xform(Mat4, Vec3)
 o xform(Mat4, Vec4)
 o xformT(Mat4, Vec3)
 o xformT(Mat4, Vec4)
 o zero()

Variables

 o x
 public float x
 o y
 public float y
 o z
 public float z
 o w
 public float w

Constructors

 o Vec4
 public Vec4(float x,
             float y,
             float z,
             float w)
 o Vec4
 public Vec4(float x,
             float y,
             float z)
 o Vec4
 public Vec4(Vec4 v)
 o Vec4
 public Vec4(Vec3 v)
 o Vec4
 public Vec4()

Methods

 o clone
 public final Object clone()
Overrides:
clone in class Object
 o zero
 public final Vec4 zero()
 o set
 public final Vec4 set(float x,
                       float y,
                       float z)
 o set
 public final Vec4 set(float x,
                       float y,
                       float z,
                       float w)
 o add
 public final Vec4 add(Vec4 a,
                       Vec3 b)
 o add
 public final Vec4 add(Vec3 v)
 o add
 public final Vec4 add(Vec4 v)
 o sub
 public final Vec4 sub(Vec3 v)
 o sub
 public final Vec4 sub(Vec4 a,
                       Vec3 b)
 o scale
 public final Vec4 scale(float s)
 o scale
 public final Vec4 scale(Vec4 v,
                         float s)
 o dot
 public final float dot(Vec4 v)
 o dot
 public static final float dot(Vec4 a,
                               Vec4 b)
 o xform
 public final Vec4 xform(Mat4 m,
                         Vec4 v)
 o xformT
 public final Vec4 xformT(Mat4 m,
                          Vec4 v)
 o xform
 public final Vec4 xform(Mat4 m,
                         Vec3 v)
 o xformT
 public final Vec4 xformT(Mat4 m,
                          Vec3 v)
 o toString
 public final String toString()
Overrides:
toString in class Object
 o equals
 public final boolean equals(Object anObject)
Overrides:
equals in class Object

All Packages  Class Hierarchy  This Package  Previous  Next  Index