Package | Description |
---|---|
pythagoras.f |
The Pythagoras geometry utility classes specialized on
float . |
Modifier and Type | Method and Description |
---|---|
Vector4 |
Vector4.abs() |
Vector4 |
IVector4.abs()
Absolute-values this vector.
|
Vector4 |
Vector4.abs(Vector4 result) |
Vector4 |
IVector4.abs(Vector4 result)
Absolute-values this vector, storing the result in the supplied object.
|
Vector4 |
Vector4.absLocal()
Absolute-values this vector in-place.
|
Vector4 |
Vector4.mult(float v) |
Vector4 |
IVector4.mult(float v)
Multiplies this vector by a scalar.
|
Vector4 |
Vector4.mult(float v,
Vector4 result) |
Vector4 |
IVector4.mult(float v,
Vector4 result)
Multiplies this vector by a scalar and places the result in the supplied object.
|
Vector4 |
Vector4.mult(IMatrix4 matrix) |
Vector4 |
IVector4.mult(IMatrix4 matrix)
Multiplies this vector by a matrix (V * M).
|
Vector4 |
Vector4.mult(IMatrix4 matrix,
Vector4 result) |
Vector4 |
IVector4.mult(IMatrix4 matrix,
Vector4 result)
Multiplies this vector by a matrix (V * M) and stores the result in the object provided.
|
Vector4 |
Vector4.multLocal(float v)
Multiplies this vector by a scalar and stores the result back in this vector.
|
Vector4 |
Vector4.multLocal(IMatrix4 matrix)
Multiplies this vector by a matrix (V * M) and stores the result back in this vector.
|
Vector4 |
Vector4.negate() |
Vector4 |
IVector4.negate()
Negates this vector.
|
Vector4 |
Vector4.negate(Vector4 result) |
Vector4 |
IVector4.negate(Vector4 result)
Negates this vector, storing the result in the supplied object.
|
Vector4 |
Vector4.negateLocal()
Negates this vector in-place.
|
Vector4 |
Vector4.set(float[] values)
Sets all of the elements of the vector.
|
Vector4 |
Vector4.set(FloatBuffer buf)
Sets all of the elements of the vector.
|
Vector4 |
Vector4.set(float x,
float y,
float z,
float w)
Sets all of the elements of the vector.
|
Vector4 |
Vector4.set(IVector4 other)
Copies the elements of another vector.
|
Vector4 |
Matrix4.transform(IVector4 vector) |
Vector4 |
IMatrix4.transform(IVector4 vector)
Transforms
vector by this matrix (M * V). |
Vector4 |
Matrix4.transform(IVector4 vector,
Vector4 result) |
Vector4 |
IMatrix4.transform(IVector4 vector,
Vector4 result)
Transforms
vector by this matrix (M * V) and stores the result in the object
provided. |
Modifier and Type | Method and Description |
---|---|
Vector4 |
Vector4.abs(Vector4 result) |
Vector4 |
IVector4.abs(Vector4 result)
Absolute-values this vector, storing the result in the supplied object.
|
Vector4 |
Vector4.mult(float v,
Vector4 result) |
Vector4 |
IVector4.mult(float v,
Vector4 result)
Multiplies this vector by a scalar and places the result in the supplied object.
|
Vector4 |
Vector4.mult(IMatrix4 matrix,
Vector4 result) |
Vector4 |
IVector4.mult(IMatrix4 matrix,
Vector4 result)
Multiplies this vector by a matrix (V * M) and stores the result in the object provided.
|
Vector4 |
Vector4.negate(Vector4 result) |
Vector4 |
IVector4.negate(Vector4 result)
Negates this vector, storing the result in the supplied object.
|
Vector4 |
Matrix4.transform(IVector4 vector,
Vector4 result) |
Vector4 |
IMatrix4.transform(IVector4 vector,
Vector4 result)
Transforms
vector by this matrix (M * V) and stores the result in the object
provided. |
Copyright © 2017. All rights reserved.