| Package | Description |
|---|---|
| org.joml |
Contains all classes of JOML.
|
| Modifier and Type | Class and Description |
|---|---|
class |
Vector4i
Contains the definition of a Vector comprising 4 ints and associated
transformations.
|
| Modifier and Type | Method and Description |
|---|---|
Vector4i |
Vector4i.add(Vector4ic v)
Add the supplied vector to this one.
|
Vector4i |
Vector4i.add(Vector4ic v,
Vector4i dest) |
Vector4i |
Vector4ic.add(Vector4ic v,
Vector4i dest)
Add the supplied vector to this one and store the result in
dest. |
double |
Vector4i.distance(Vector4ic v) |
double |
Vector4ic.distance(Vector4ic v)
Return the distance between this Vector and
v. |
int |
Vector4i.distanceSquared(Vector4ic v) |
int |
Vector4ic.distanceSquared(Vector4ic v)
Return the square of the distance between this vector and
v. |
Vector4i |
Vector4i.div(Vector4ic v)
Divide this Vector4i component-wise by another Vector4i.
|
Vector4i |
Vector4i.div(Vector4ic v,
Vector4i dest) |
Vector4i |
Vector4ic.div(Vector4ic v,
Vector4i dest)
Divide this Vector4i component-wise by another Vector4ic and store the
result in
dest. |
int |
Vector4i.dot(Vector4ic v) |
int |
Vector4ic.dot(Vector4ic v)
Compute the dot product (inner product) of this vector and
v. |
long |
Vector4i.gridDistance(Vector4ic v) |
long |
Vector4ic.gridDistance(Vector4ic v)
Return the grid distance in between (aka 1-Norm, Minkowski or Manhattan distance)
(x, y). |
Vector4i |
Vector4i.max(Vector4ic v)
Set the components of this vector to be the component-wise maximum of this and the other vector.
|
Vector4i |
Vector4i.max(Vector4ic v,
Vector4i dest) |
Vector4i |
Vector4ic.max(Vector4ic v,
Vector4i dest)
Set the components of
dest to be the component-wise maximum of this and the other vector. |
Vector4i |
Vector4i.min(Vector4ic v)
Set the components of this vector to be the component-wise minimum of this and the other vector.
|
Vector4i |
Vector4i.min(Vector4ic v,
Vector4i dest) |
Vector4i |
Vector4ic.min(Vector4ic v,
Vector4i dest)
Set the components of
dest to be the component-wise minimum of this and the other vector. |
Vector4i |
Vector4i.mul(Vector4ic v)
Multiply this Vector4i component-wise by another Vector4i.
|
Vector4i |
Vector4i.mul(Vector4ic v,
Vector4i dest) |
Vector4i |
Vector4ic.mul(Vector4ic v,
Vector4i dest)
Multiply this Vector4i component-wise by another Vector4ic and store the
result in
dest. |
Vector4i |
Vector4i.set(Vector4ic v)
Set this
Vector4i to the values of the given v. |
Vector4d |
Vector4d.set(Vector4ic v)
Set this
Vector4d to the values of the given v. |
Vector4f |
Vector4f.set(Vector4ic v)
Set this
Vector4f to the values of the given v. |
Vector4i |
Vector4i.sub(Vector4ic v)
Subtract the supplied vector from this one.
|
Vector4i |
Vector4i.sub(Vector4ic v,
Vector4i dest) |
Vector4i |
Vector4ic.sub(Vector4ic v,
Vector4i dest)
Subtract the supplied vector from this one and store the result in
dest. |
| Constructor and Description |
|---|
Vector4d(Vector4ic v)
Create a new
Vector4d with the same values as v. |
Vector4f(Vector4ic v)
Create a new
Vector4f with the same values as v. |
Vector4i(Vector4ic v)
Create a new
Vector4i with the same values as v. |
Copyright © 2015–2019 JOML. All rights reserved.