Uses of Class
omix.util.math.vector.Vec4f
Package | Description |
---|---|
omix.util.math.vector |
This package contains classes for linear algebra.
|
-
Uses of Vec4f in omix.util.math.vector
Methods in omix.util.math.vector that return Vec4f Modifier and Type Method Description Vec4f
Vec4f. copy()
Clones the coordinateVec4f
Vec4f. cross(Vec4f c)
Cross productVec4f
Matrix4f. dot(Vec4f vector)
Product with a vector.Vec4f
Vec4f. dot(float multiplicator)
Vec4f
Vec4f. minus(Vec4f cc)
Vec4f
Vec4f. negate()
Vec4f
Vec4f. normalize()
Vec4f
Vec4f. plus(Vec4f cc)
Methods in omix.util.math.vector with parameters of type Vec4f Modifier and Type Method Description int
Vec4f. closest(Vec4f[] vecs)
Returns the index of the vector closest to this.Vec4f
Vec4f. cross(Vec4f c)
Cross productVec4f
Matrix4f. dot(Vec4f vector)
Product with a vector.float
Vec4f. dot(Vec4f multiplicator)
float
Vec4f. getAngle(Vec4f coordinate)
boolean
Vec4f. isComplementOf(Vec4f cc)
Determines if this is complement of given vector.Vec4f
Vec4f. minus(Vec4f cc)
Vec4f
Vec4f. plus(Vec4f cc)
void
Vec4f. set(Vec4f c)
Constructors in omix.util.math.vector with parameters of type Vec4f Constructor Description Matrix4f(Vec4f pos)
Transpation matrix.
The matrix has the form:
|1, 0, 0, pos.x|
|0, 1, 0, pos.y|
|0, 0, 1, pos.z|
|0, 0, 0, pos.w|Matrix4f(Vec4f axis, float angle)
Initializes a rotation matrix about the given axis with the given angle.Matrix4f(Vec4f xAxis, Vec4f yAxis, Vec4f zAxis)
Rotation matrix.
The matrix has the form:
|xAxis.x, yAxis.x, zAxis.x, 0|
|xAxis.y, yAxis.y, zAxis.y, 0|
|xAxis.z, yAxis.z, zAxis.z, 0|
|xAxis.w, yAxis.w, zAxis.w, 1|Vec4f(Vec4f vector)