Package | Description |
---|---|
thothbot.parallax.core.shared.core |
Contains all core Objects such as Vectors, Matrices and so on which are used overall on the project.
|
thothbot.parallax.core.shared.math |
Different mathematics
|
Modifier and Type | Method and Description |
---|---|
java.util.List<Vector4> |
Geometry.getSkinIndices()
Gets the List of skinning indices, matching number and order of vertices.
|
java.util.List<Vector4> |
Geometry.getSkinWeights()
Gets the List of skinning weights, matching number and order of vertices.
|
java.util.List<Vector4> |
Face3.getVertexTangents()
Gets List of 3 vertex tangets.
|
Modifier and Type | Method and Description |
---|---|
void |
Face3.setVertexTangents(java.util.List<Vector4> vertexTangents)
Sets List of 3 vertex tangets.
|
Modifier and Type | Method and Description |
---|---|
Vector4 |
Vector4.add(double s) |
Vector4 |
Vector4.add(Vector4 v)
Sets the value of this vector to the sum of itself and v1.
|
Vector4 |
Vector4.add(Vector4 v1,
Vector4 v2)
Sets the value of this vector to the sum of vectors v1 and v2.
|
Vector4 |
Vector4.applyMatrix4(Matrix4 m) |
Vector4 |
Vector4.ceil() |
Vector4 |
Vector4.clamp(double minVal,
double maxVal) |
Vector4 |
Vector4.clamp(Vector4 min,
Vector4 max)
This function assumes min < max, if this assumption isn't true it will not operate correctly
|
Vector4 |
Vector4.clone() |
Vector4 |
Vector4.copy(Vector3 v)
Set value of the vector from another vector.
|
Vector4 |
Vector4.copy(Vector4 v)
Set value of the vector from another vector.
|
Vector4 |
Vector4.divide(double scalar) |
Vector4 |
Vector4.divide(Vector4 v) |
Vector4 |
Vector4.divide(Vector4 v1,
Vector4 v2) |
Vector4 |
Vector4.floor() |
Vector4 |
Vector4.lerp(Vector4 v1,
double alpha) |
Vector4 |
Vector4.max(Vector4 v) |
Vector4 |
Vector4.min(Vector4 v) |
Vector4 |
Vector4.multiply(double s)
Sets the value of this vector to the scalar multiplication of the scale
factor with this.
|
Vector4 |
Vector4.multiply(Vector4 v) |
Vector4 |
Vector4.multiply(Vector4 v1,
Vector4 v2) |
Vector4 |
Vector4.negate()
Negates the value of this vector in place.
|
Vector4 |
Vector4.normalize()
Normalizes this vector in place.
|
Vector4 |
Vector4.round() |
Vector4 |
Vector4.roundToZero() |
Vector4 |
Vector4.set(double x,
double y,
double z,
double w)
Sets the value of this vector to the specified xyzw coordinates.
|
Vector4 |
Vector4.setAxisAngleFromQuaternion(Quaternion q)
|
Vector4 |
Vector4.setAxisAngleFromRotationMatrix(Matrix4 m)
|
Vector4 |
Vector4.setLength(double l) |
Vector4 |
Vector4.sub(Vector4 v)
Sets the value of this vector to the difference of itself and v1 (this =
this - v).
|
Vector4 |
Vector4.sub(Vector4 v1,
Vector4 v2)
Sets the value of this vector to the difference of vectors v1 and v2
(this = v1 - v2).
|
Modifier and Type | Method and Description |
---|---|
Vector4 |
Vector4.add(Vector4 v)
Sets the value of this vector to the sum of itself and v1.
|
Vector4 |
Vector4.add(Vector4 v1,
Vector4 v2)
Sets the value of this vector to the sum of vectors v1 and v2.
|
Vector4 |
Vector4.clamp(Vector4 min,
Vector4 max)
This function assumes min < max, if this assumption isn't true it will not operate correctly
|
Vector4 |
Vector4.copy(Vector4 v)
Set value of the vector from another vector.
|
Vector4 |
Vector4.divide(Vector4 v) |
Vector4 |
Vector4.divide(Vector4 v1,
Vector4 v2) |
double |
Vector4.dot(Vector4 v1)
returns the dot product of this vector and v1
|
boolean |
Vector4.equals(Vector4 v) |
Vector4 |
Vector4.lerp(Vector4 v1,
double alpha) |
Vector4 |
Vector4.max(Vector4 v) |
Vector4 |
Vector4.min(Vector4 v) |
Vector4 |
Vector4.multiply(Vector4 v) |
Vector4 |
Vector4.multiply(Vector4 v1,
Vector4 v2) |
Vector4 |
Vector4.sub(Vector4 v)
Sets the value of this vector to the difference of itself and v1 (this =
this - v).
|
Vector4 |
Vector4.sub(Vector4 v1,
Vector4 v2)
Sets the value of this vector to the difference of vectors v1 and v2
(this = v1 - v2).
|