| Package | Description |
|---|---|
| org.joml |
Contains all classes of JOML.
|
| org.joml.internal |
Contains internal classes.
|
| Modifier and Type | Method and Description |
|---|---|
Vector2i |
Vector2i.add(int x,
int y)
Increment the components of this vector by the given values.
|
Vector2i |
Vector2i.add(int x,
int y,
Vector2i dest) |
Vector2i |
Vector2ic.add(int x,
int y,
Vector2i dest)
Increment the components of this vector by the given values and store the
result in
dest. |
Vector2i |
Vector2i.add(Vector2ic v)
Add
v to this vector. |
Vector2i |
Vector2i.add(Vector2ic v,
Vector2i dest) |
Vector2i |
Vector2ic.add(Vector2ic v,
Vector2i dest)
Add the supplied vector to this one and store the result in
dest. |
Vector2i |
Vector2i.max(Vector2ic v)
Set the components of this vector to be the component-wise maximum of this and the other vector.
|
Vector2i |
Vector2i.max(Vector2ic v,
Vector2i dest) |
Vector2i |
Vector2ic.max(Vector2ic v,
Vector2i dest)
Set the components of
dest to be the component-wise maximum of this and the other vector. |
Vector2i |
Vector2i.min(Vector2ic v)
Set the components of this vector to be the component-wise minimum of this and the other vector.
|
Vector2i |
Vector2i.min(Vector2ic v,
Vector2i dest) |
Vector2i |
Vector2ic.min(Vector2ic v,
Vector2i dest)
Set the components of
dest to be the component-wise minimum of this and the other vector. |
Vector2i |
Vector2i.mul(int scalar)
Multiply all components of this
Vector2i by the given scalar
value. |
Vector2i |
Vector2i.mul(int x,
int y)
Multiply the components of this vector by the given values.
|
Vector2i |
Vector2i.mul(int x,
int y,
Vector2i dest) |
Vector2i |
Vector2ic.mul(int x,
int y,
Vector2i dest)
Multiply the components of this vector by the given values and store the
result in
dest. |
Vector2i |
Vector2i.mul(int scalar,
Vector2i dest) |
Vector2i |
Vector2ic.mul(int scalar,
Vector2i dest)
Multiply all components of this
Vector2ic by the given scalar
value and store the result in dest. |
Vector2i |
Vector2i.mul(Vector2ic v)
Add the supplied vector by this one.
|
Vector2i |
Vector2i.mul(Vector2ic v,
Vector2i dest) |
Vector2i |
Vector2ic.mul(Vector2ic v,
Vector2i dest)
Multiply the supplied vector by this one and store the result in
dest. |
Vector2i |
Vector2i.negate()
Negate this vector.
|
Vector2i |
Vector2i.negate(Vector2i dest) |
Vector2i |
Vector2ic.negate(Vector2i dest)
Negate this vector and store the result in
dest. |
Vector2i |
Vector2i.set(ByteBuffer buffer)
Read this vector from the supplied
ByteBuffer at the current
buffer position. |
Vector2i |
Vector2i.set(int s)
Set the x and y components to the supplied value.
|
Vector2i |
Vector2i.set(IntBuffer buffer)
|
Vector2i |
Vector2i.set(int index,
ByteBuffer buffer)
Read this vector from the supplied
ByteBuffer starting at the
specified absolute buffer position/index. |
Vector2i |
Vector2i.set(int x,
int y)
Set the x and y components to the supplied values.
|
Vector2i |
Vector2i.set(int index,
IntBuffer buffer)
Read this vector from the supplied
IntBuffer starting at the
specified absolute buffer position/index. |
Vector2i |
Vector2i.set(Vector2dc v)
Set this
Vector2i to the values of v. |
Vector2i |
Vector2i.set(Vector2ic v)
Set this
Vector2i to the values of v. |
Vector2i |
Vector2i.setComponent(int component,
int value)
Set the value of the specified component of this vector.
|
Vector2i |
Vector2i.sub(int x,
int y)
Decrement the components of this vector by the given values.
|
Vector2i |
Vector2i.sub(int x,
int y,
Vector2i dest) |
Vector2i |
Vector2ic.sub(int x,
int y,
Vector2i dest)
Decrement the components of this vector by the given values and store the
result in
dest. |
Vector2i |
Vector2i.sub(Vector2ic v)
Subtract the supplied vector from this one and store the result in
this. |
Vector2i |
Vector2i.sub(Vector2ic v,
Vector2i dest) |
Vector2i |
Vector2ic.sub(Vector2ic v,
Vector2i dest)
Subtract the supplied vector from this one and store the result in
dest. |
Vector2i |
Vector2i.zero()
Set all components to zero.
|
| Modifier and Type | Method and Description |
|---|---|
Vector2i |
Vector2i.add(int x,
int y,
Vector2i dest) |
Vector2i |
Vector2ic.add(int x,
int y,
Vector2i dest)
Increment the components of this vector by the given values and store the
result in
dest. |
Vector2i |
Vector2i.add(Vector2ic v,
Vector2i dest) |
Vector2i |
Vector2ic.add(Vector2ic v,
Vector2i dest)
Add the supplied vector to this one and store the result in
dest. |
Vector2i |
Vector2i.max(Vector2ic v,
Vector2i dest) |
Vector2i |
Vector2ic.max(Vector2ic v,
Vector2i dest)
Set the components of
dest to be the component-wise maximum of this and the other vector. |
Vector2i |
Vector2i.min(Vector2ic v,
Vector2i dest) |
Vector2i |
Vector2ic.min(Vector2ic v,
Vector2i dest)
Set the components of
dest to be the component-wise minimum of this and the other vector. |
Vector2i |
Vector2i.mul(int x,
int y,
Vector2i dest) |
Vector2i |
Vector2ic.mul(int x,
int y,
Vector2i dest)
Multiply the components of this vector by the given values and store the
result in
dest. |
Vector2i |
Vector2i.mul(int scalar,
Vector2i dest) |
Vector2i |
Vector2ic.mul(int scalar,
Vector2i dest)
Multiply all components of this
Vector2ic by the given scalar
value and store the result in dest. |
Vector2i |
Vector2i.mul(Vector2ic v,
Vector2i dest) |
Vector2i |
Vector2ic.mul(Vector2ic v,
Vector2i dest)
Multiply the supplied vector by this one and store the result in
dest. |
Vector2i |
Vector2i.negate(Vector2i dest) |
Vector2i |
Vector2ic.negate(Vector2i dest)
Negate this vector and store the result in
dest. |
Vector2i |
Vector2i.sub(int x,
int y,
Vector2i dest) |
Vector2i |
Vector2ic.sub(int x,
int y,
Vector2i dest)
Decrement the components of this vector by the given values and store the
result in
dest. |
Vector2i |
Vector2i.sub(Vector2ic v,
Vector2i dest) |
Vector2i |
Vector2ic.sub(Vector2ic v,
Vector2i dest)
Subtract the supplied vector from this one and store the result in
dest. |
| Modifier and Type | Method and Description |
|---|---|
abstract void |
MemUtil.get(Vector2i dst,
int offset,
ByteBuffer src) |
void |
MemUtil.MemUtilNIO.get(Vector2i dst,
int offset,
ByteBuffer src) |
abstract void |
MemUtil.get(Vector2i dst,
int offset,
IntBuffer src) |
void |
MemUtil.MemUtilNIO.get(Vector2i dst,
int offset,
IntBuffer src) |
abstract void |
MemUtil.put(Vector2i src,
int offset,
ByteBuffer dest) |
void |
MemUtil.MemUtilNIO.put(Vector2i src,
int offset,
ByteBuffer dest) |
abstract void |
MemUtil.put(Vector2i src,
int offset,
IntBuffer dest) |
void |
MemUtil.MemUtilNIO.put(Vector2i src,
int offset,
IntBuffer dest) |
Copyright © 2015–2019 JOML. All rights reserved.