Uses of Interface
org.joml.Vector2ic
Packages that use Vector2ic
-
Uses of Vector2ic in org.joml
Modifier and TypeMethodDescriptionVector2i.getToAddress
(long address) Vector2ic.getToAddress
(long address) Store this vector at the given off-heap memory address.Modifier and TypeMethodDescriptionAddv
to this vector.Add the supplied vector to this one and store the result indest
.double
double
Return the distance between this Vector andv
.long
Vector2i.distanceSquared
(Vector2ic v) long
Vector2ic.distanceSquared
(Vector2ic v) Return the square of the distance between this vector andv
.long
Vector2i.gridDistance
(Vector2ic v) long
Vector2ic.gridDistance
(Vector2ic v) 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 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.Add the supplied vector by this one.Multiply the supplied vector by this one and store the result indest
.Set thisVector2d
to be a clone ofv
.Set thisVector2f
to the values of v.Set thisVector2i
to the values of v.Set the first two components from the givenv
and the z component from the givenz
Set the first two components from the givenv
and the z component from the givenz
Set the first two components from the givenv
and the z component from the givenz
Set the x and y components from the givenv
and the z and w components to the givenz
andw
.Sets the first two components of this to the components of givenv
and last two components to the givenz
, andw
.Sets the first two components of this to the components of givenv
and last two components to the givenz
, andw
.Subtract the supplied vector from this one and store the result inthis
.Subtract the supplied vector from this one and store the result indest
.