Uses of Class
org.joml.Vector4i
Packages that use Vector4i
-
Uses of Vector4i in org.joml
Modifier and TypeMethodDescriptionVector4i.absolute()
Compute the absolute of each of this vector's components.Compute the absolute of each of this vector's components and store the result intodest
.Vector4i.add
(int x, int y, int z, int w) 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
.Vector4i.div
(float scalar) Divide all components of thisVector3i
by the given scalar value.Vector4i.div
(int scalar) Divide all components of thisVector4i
by the given scalar value.Divide this Vector4i component-wise by another Vector4i.Divide all components of thisVector4i
by the given scalar value and store the result indest
.Divide all components of thisVector4i
by the given scalar value and store the result indest
.Divide this Vector4i component-wise by another Vector4ic 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.Vector4i.mul
(int scalar) Multiply all components of thisVector4i
by the given scalar value.Multiply this Vector4i component-wise by another Vector4i.Multiply all components of thisVector4i
by the given scalar value and store the result indest
.Multiply this Vector4i component-wise by another Vector4ic and store the result indest
.Vector4i.negate()
Negate this vector.Negate this vector and store the result indest
.Vector4i.set
(int s) Set the x, y, z, and w components to the supplied value.Vector4i.set
(int[] xyzw) Set the four components of this vector to the first four elements of the given array.Vector4i.set
(int x, int y, int z, int w) Set the x, y, z, and w components to the supplied values.Vector4i.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.Vector4i.set
(ByteBuffer buffer) Read this vector from the suppliedByteBuffer
at the current bufferposition
.Sets the first two components of this to the components of givenv
and last two components to the givenz
, andw
.Set the first three components of this to the components ofv
and the last component tow
.Set thisVector4i
to the values of v usingRoundingMode.TRUNCATE
rounding.Set thisVector4i
to the values of v using the givenRoundingMode
.Set thisVector4i
to the values of v using the givenRoundingMode
.Set thisVector4i
to the values of the givenv
.Vector4i.setComponent
(int component, int value) Set the value of the specified component of this vector.Vector4i.setFromAddress
(long address) Set the values of this vector by reading 4 integer values from off-heap memory, starting at the given address.Vector4i.sub
(int x, int y, int z, int w) Subtract(x, y, z, w)
from this.Subtract the supplied vector from this one.Subtract(x, y, z, w)
from this and store the result indest
.Subtract the supplied vector from this one and store the result indest
.Vector4i.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 thisVector4i
by the given scalar value and store the result indest
.Divide all components of thisVector4i
by the given scalar value and store the result indest
.Divide this Vector4i component-wise by another Vector4ic 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 all components of thisVector4i
by the given scalar value and store the result indest
.Multiply this Vector4i component-wise by another Vector4ic and store the result indest
.Negate this vector and store the result indest
.Subtract(x, y, z, w)
from this and store the result indest
.Subtract the supplied vector from this one and store the result indest
.