Uses of Class
org.joml.Vector3i
Packages that use Vector3i
-
Uses of Vector3i in org.joml
Modifier and TypeMethodDescriptionVector3i.absolute()
Setthis
vector's components to their respective absolute values.Compute the absolute of each of this vector's components and store the result intodest
.Vector3i.add
(int x, int y, int z) Increment the components of this vector by the given values.Add the supplied vector to this one.Increment the components of this vector by the given values and store the result indest
.Add the supplied vector to this one and store the result indest
.Vector3i.div
(float scalar) Divide all components of thisVector3i
by the given scalar value.Vector3i.div
(int scalar) Divide all components of thisVector3i
by the given scalar value.Divide all components of thisVector3i
by the given scalar value and store the result indest
.Divide all components of thisVector3i
by the given scalar value and store the result indest
.Set the components of this vector to be the component-wise maximum of this and the other vector.Set the components ofdest
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 ofdest
to be the component-wise minimum of this and the other vector.Vector3i.mul
(int scalar) Multiply all components of thisVector3i
by the given scalar value.Vector3i.mul
(int x, int y, int z) Multiply the components of this vector by the given values.Multiply all components of thisVector3i
by the given vector.Multiply the components of this vector by the given values and store the result indest
.Multiply the components of this vector by the given scalar and store the result indest
.Multiply the supplied vector by this one and store the result indest
.Vector3i.negate()
Negate this vector.Negate this vector and store the result indest
.Vector3i.set
(int d) Set the x, y, and z components to the supplied value.Vector3i.set
(int[] xyz) Set the three components of this vector to the first three elements of the given array.Vector3i.set
(int x, int y, int z) Set the x, y and z components to the supplied values.Vector3i.set
(int index, ByteBuffer buffer) Read this vector from the suppliedByteBuffer
starting at the specified absolute buffer position/index.Read this vector from the suppliedIntBuffer
starting at the specified absolute buffer position/index.Vector3i.set
(ByteBuffer buffer) Read this vector from the suppliedByteBuffer
at the current bufferposition
.Set the first two components from the givenv
and the z component from the givenz
Set thisVector3i
to the values of v usingRoundingMode.TRUNCATE
rounding.Set thisVector3i
to the values of v using the givenRoundingMode
.Set thisVector3i
to the values of v using the givenRoundingMode
.Set the x, y and z components to match the supplied vector.Vector3i.setComponent
(int component, int value) Set the value of the specified component of this vector.Vector3i.setFromAddress
(long address) Set the values of this vector by reading 3 integer values from off-heap memory, starting at the given address.Vector3i.sub
(int x, int y, int z) Decrement the components of this vector by the given values.Subtract the supplied vector from this one and store the result inthis
.Decrement the components of this vector by the given values and store the result indest
.Subtract the supplied vector from this one and store the result indest
.Vector3i.zero()
Set all components to zero.Modifier and TypeMethodDescriptionCompute the absolute of each of this vector's components and store the result intodest
.Increment the components of this vector by the given values and store the result indest
.Add the supplied vector to this one and store the result indest
.Divide all components of thisVector3i
by the given scalar value and store the result indest
.Divide all components of thisVector3i
by the given scalar value and store the result indest
.Set the components ofdest
to be the component-wise maximum of this and the other vector.Set the components ofdest
to be the component-wise minimum of this and the other vector.Multiply the components of this vector by the given values and store the result indest
.Multiply the components of this vector by the given scalar and store the result indest
.Multiply the supplied vector by this one and store the result indest
.Negate this vector and store the result indest
.Decrement the components of this vector by the given values and store the result indest
.Subtract the supplied vector from this one and store the result indest
.