| Modifier and Type | Field and Description |
|---|---|
| public static final Vec3f | |
| public static final Vec3f | |
| public static final Vec3f | |
| private float | |
| public static final Vec3f | |
| private float | |
| public static final Vec3f | |
| private float | |
| public static final Vec3f |
| Access | Constructor and Description |
|---|---|
| public | |
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| public void | |
| public Vec3f | |
| public void | |
| public void | componentMul(final Vec3f arg)
Sets each component of this vector to the product of the component with the corresponding component of the argument vector. |
| public Vec3f | |
| public Vec3f | |
| public void | |
| public float | |
| public float | |
| public float | |
| public float | |
| public Vec3f | |
| public void | |
| public Vec3f | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public Vec3f | |
| public String | |
| public float | |
| public float | |
| public float |
| NEG_X_AXIS | back to summary |
|---|---|
| public static final Vec3f NEG_X_AXIS | |
| NEG_Y_AXIS | back to summary |
|---|---|
| public static final Vec3f NEG_Y_AXIS | |
| NEG_Z_AXIS | back to summary |
|---|---|
| public static final Vec3f NEG_Z_AXIS | |
| x | back to summary |
|---|---|
| private float x | |
| X_AXIS | back to summary |
|---|---|
| public static final Vec3f X_AXIS | |
| y | back to summary |
|---|---|
| private float y | |
| Y_AXIS | back to summary |
|---|---|
| public static final Vec3f Y_AXIS | |
| z | back to summary |
|---|---|
| private float z | |
| Z_AXIS | back to summary |
|---|---|
| public static final Vec3f Z_AXIS | |
| Vec3f | back to summary |
|---|---|
| public Vec3f() | |
| Vec3f | back to summary |
|---|---|
| public Vec3f(final Vec3f arg) | |
| Vec3f | back to summary |
|---|---|
| public Vec3f(final float x, final float y, final float z) | |
| add | back to summary |
|---|---|
| public void add(final Vec3f b) this = this + b | |
| add | back to summary |
|---|---|
| public void add(final Vec3f a, final Vec3f b) this = a + b | |
| addScaled | back to summary |
|---|---|
| public Vec3f addScaled(final float s, final Vec3f arg) Returns this + s * arg; creates new vector | |
| addScaled | back to summary |
|---|---|
| public void addScaled(final Vec3f a, final float s, final Vec3f b) this = a + s * b | |
| componentMul | back to summary |
|---|---|
| public void componentMul(final Vec3f arg) Sets each component of this vector to the product of the component with the corresponding component of the argument vector. | |
| copy | back to summary |
|---|---|
| public Vec3f copy() | |
| cross | back to summary |
|---|---|
| public Vec3f cross(final Vec3f arg) Returns this cross arg; creates new vector | |
| cross | back to summary |
|---|---|
| public void cross(final Vec3f a, final Vec3f b) this = a cross b. Note "this" must be a different vector than both a and b. | |
| dot | back to summary |
|---|---|
| public float dot(final Vec3f arg) | |
| get | back to summary |
|---|---|
| public float get(final int i) Gets the ith component, 0 <= i < 3 | |
| length | back to summary |
|---|---|
| public float length() | |
| lengthSquared | back to summary |
|---|---|
| public float lengthSquared() | |
| minus | back to summary |
|---|---|
| public Vec3f minus(final Vec3f arg) Returns this - arg; creates new vector | |
| normalize | back to summary |
|---|---|
| public void normalize() | |
| plus | back to summary |
|---|---|
| public Vec3f plus(final Vec3f arg) Returns this + arg; creates new vector | |
| scale | back to summary |
|---|---|
| public void scale(final float val) this = this * val | |
| set | back to summary |
|---|---|
| public void set(final Vec3f arg) | |
| set | back to summary |
|---|---|
| public void set(final float x, final float y, final float z) | |
| set | back to summary |
|---|---|
| public void set(final int i, final float val) Sets the ith component, 0 <= i < 3 | |
| setX | back to summary |
|---|---|
| public void setX(final float x) | |
| setY | back to summary |
|---|---|
| public void setY(final float y) | |
| setZ | back to summary |
|---|---|
| public void setZ(final float z) | |
| sub | back to summary |
|---|---|
| public void sub(final Vec3f b) this = this - b | |
| sub | back to summary |
|---|---|
| public void sub(final Vec3f a, final Vec3f b) this = a - b | |
| times | back to summary |
|---|---|
| public Vec3f times(final float val) Returns this * val; creates new vector | |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object. | |
| x | back to summary |
|---|---|
| public float x() | |
| y | back to summary |
|---|---|
| public float y() | |
| z | back to summary |
|---|---|
| public float z() | |