Contains all classes of JOML.
-
class
Contains the definition of a Vector comprising 4 ints and associated
transformations.
Store this vector at the given off-heap memory address.
Add the supplied vector to this one.
Add the supplied vector to this one and store the result in
dest
.
double
double
Return the distance between this Vector and v
.
int
int
Return the square of the distance between this vector and v
.
Divide this Vector4i component-wise by another Vector4i.
Divide this Vector4i component-wise by another Vector4ic and store the
result in dest
.
int
int
Compute the dot product (inner product) of this vector and v
.
long
long
Return the grid distance in between (aka 1-Norm, Minkowski or Manhattan distance)
(x, y)
.
Set the components of this vector to be the component-wise maximum of this and the other vector.
Set the components of dest
to be the component-wise maximum of this and the other vector.
Set the components of this vector to be the component-wise minimum of this and the other vector.
Set the components of dest
to be the component-wise minimum of this and the other vector.
Multiply this Vector4i component-wise by another Vector4i.
Multiply this Vector4i component-wise by another Vector4ic and store the
result in dest
.
Set this
Vector4d
to the values of the given
v
.
Set this
Vector4f
to the values of the given
v
.
Set this
Vector4i
to the values of the given
v
.
Subtract the supplied vector from this one.
Subtract the supplied vector from this one and store the result in
dest
.
Create a new
Vector4d
with the same values as
v
.
Create a new
Vector4f
with the same values as
v
.
Create a new
Vector4i
with the same values as
v
.