| Modifier and Type | Field and Description |
|---|---|
| pack-priv static final long |
| Access | Constructor and Description |
|---|---|
| public | Vector3f(float
the x coordinate x, float the y coordinate y, float the z coordinate z)Constructs and initializes a Vector3f from the specified xyz coordinates. |
| public | Vector3f(float[]
the array of length 3 containing xyz in order v)Constructs and initializes a Vector3f from the array of length 3. |
| public | |
| public | |
| public | |
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public final float | |
| public final void | |
| public final float | |
| public final float | |
| public final float | |
| public final void | |
| public final void |
| serialVersionUID | back to summary |
|---|---|
| pack-priv static final long serialVersionUID | |
| Vector3f | back to summary |
|---|---|
| public Vector3f(float x, float y, float z) Constructs and initializes a Vector3f from the specified xyz coordinates.
| |
| Vector3f | back to summary |
|---|---|
| public Vector3f(float[] v) Constructs and initializes a Vector3f from the array of length 3.
| |
| Vector3f | back to summary |
|---|---|
| public Vector3f(Vector3f v1) Constructs and initializes a Vector3f from the specified Vector3f.
| |
| Vector3f | back to summary |
|---|---|
| public Vector3f(Vector3d v1) Constructs and initializes a Vector3f from the specified Vector3d.
| |
| Vector3f | back to summary |
|---|---|
| public Vector3f(Tuple3f t1) Constructs and initializes a Vector3f from the specified Tuple3f.
| |
| Vector3f | back to summary |
|---|---|
| public Vector3f(Tuple3d t1) Constructs and initializes a Vector3f from the specified Tuple3d.
| |
| Vector3f | back to summary |
|---|---|
| public Vector3f() Constructs and initializes a Vector3f to (0,0,0). | |
| angle | back to summary |
|---|---|
| public final float angle(Vector3f v1) Returns the angle in radians between this vector and the vector parameter; the return value is constrained to the range [0,PI].
| |
| cross | back to summary |
|---|---|
| public final void cross(Vector3f v1, Vector3f v2) Sets this vector to be the vector cross product of vectors v1 and v2. | |
| dot | back to summary |
|---|---|
| public final float dot(Vector3f v1) Computes the dot product of this vector and vector v1.
| |
| length | back to summary |
|---|---|
| public final float length() Returns the length of this vector.
| |
| lengthSquared | back to summary |
|---|---|
| public final float lengthSquared() Returns the squared length of this vector.
| |
| normalize | back to summary |
|---|---|
| public final void normalize(Vector3f v1) Sets the value of this vector to the normalization of vector v1.
| |
| normalize | back to summary |
|---|---|
| public final void normalize() Normalizes this vector in place. | |