| Package | Description |
|---|---|
| org.joml |
Contains all classes of JOML.
|
| Modifier and Type | Class and Description |
|---|---|
class |
Vector3i
Contains the definition of a Vector comprising 3 ints and associated
transformations.
|
| Modifier and Type | Method and Description |
|---|---|
Vector3i |
Vector3i.add(Vector3ic v)
Add the supplied vector to this one.
|
Vector3i |
Vector3i.add(Vector3ic v,
Vector3i dest) |
Vector3i |
Vector3ic.add(Vector3ic v,
Vector3i dest)
Add the supplied vector to this one and store the result in
dest. |
double |
Vector3i.distance(Vector3ic v) |
double |
Vector3ic.distance(Vector3ic v)
Return the distance between this Vector and
v. |
long |
Vector3i.distanceSquared(Vector3ic v) |
long |
Vector3ic.distanceSquared(Vector3ic v)
Return the square of the distance between this vector and
v. |
long |
Vector3i.gridDistance(Vector3ic v)
(non-Javadoc)
|
long |
Vector3ic.gridDistance(Vector3ic v)
Return the grid distance in between (aka 1-Norm, Minkowski or Manhattan distance)
(x, y). |
Vector3i |
Vector3i.max(Vector3ic v)
Set the components of this vector to be the component-wise maximum of this and the other vector.
|
Vector3i |
Vector3i.max(Vector3ic v,
Vector3i dest) |
Vector3i |
Vector3ic.max(Vector3ic v,
Vector3i dest)
Set the components of
dest to be the component-wise maximum of this and the other vector. |
Vector3i |
Vector3i.min(Vector3ic v)
Set the components of this vector to be the component-wise minimum of this and the other vector.
|
Vector3i |
Vector3i.min(Vector3ic v,
Vector3i dest) |
Vector3i |
Vector3ic.min(Vector3ic v,
Vector3i dest)
Set the components of
dest to be the component-wise minimum of this and the other vector. |
Vector3i |
Vector3i.mul(Vector3ic v)
Multiply all components of this
Vector3i by the given vector. |
Vector3i |
Vector3i.mul(Vector3ic v,
Vector3i dest) |
Vector3i |
Vector3ic.mul(Vector3ic v,
Vector3i dest)
Multiply the supplied vector by this one and store the result in
dest. |
Vector3d |
Vector3d.set(Vector3ic v)
Set the x, y and z components to match the supplied vector.
|
Vector3i |
Vector3i.set(Vector3ic v)
Set the x, y and z components to match the supplied vector.
|
Vector3f |
Vector3f.set(Vector3ic v)
Set the x, y and z components to match the supplied vector.
|
Vector4d |
Vector4d.set(Vector3ic v,
double w)
Set the x, y, and z components of this to the components of
v and the w component to w. |
Vector4f |
Vector4f.set(Vector3ic v,
float w)
Set the first three components of this to the components of
v and the last component to w. |
Vector4i |
Vector4i.set(Vector3ic v,
int w)
Set the first three components of this to the components of
v and the last component to w. |
Vector3i |
Vector3i.sub(Vector3ic v)
Subtract the supplied vector from this one and store the result in
this. |
Vector3i |
Vector3i.sub(Vector3ic v,
Vector3i dest) |
Vector3i |
Vector3ic.sub(Vector3ic v,
Vector3i dest)
Subtract the supplied vector from this one and store the result in
dest. |
| Constructor and Description |
|---|
Vector3d(Vector3ic v)
Create a new
Vector3d whose values will be copied from the given vector. |
Vector3f(Vector3ic v)
Create a new
Vector3f with the same values as v. |
Vector3i(Vector3ic v)
Create a new
Vector3i with the same values as v. |
Vector4d(Vector3ic v,
double w)
|
Vector4f(Vector3ic v,
float w)
|
Vector4i(Vector3ic v,
int w)
|
Copyright © 2015–2019 JOML. All rights reserved.