| Package | Description |
|---|---|
| org.joml |
Contains all classes of JOML.
|
| org.joml.internal |
Contains internal classes.
|
| Modifier and Type | Method and Description |
|---|---|
Matrix2f |
Matrix2f._m00(float m00)
Set the value of the matrix element at column 0 and row 0.
|
Matrix2f |
Matrix2f._m01(float m01)
Set the value of the matrix element at column 0 and row 1.
|
Matrix2f |
Matrix2f._m10(float m10)
Set the value of the matrix element at column 1 and row 0.
|
Matrix2f |
Matrix2f._m11(float m11)
Set the value of the matrix element at column 1 and row 1.
|
Matrix2f |
Matrix2f.add(Matrix2fc other)
Component-wise add
this and other. |
Matrix2f |
Matrix2f.add(Matrix2fc other,
Matrix2f dest) |
Matrix2f |
Matrix2fc.add(Matrix2fc other,
Matrix2f dest)
Component-wise add
this and other and store the result in dest. |
Matrix2f |
Matrix2f.get(Matrix2f dest)
Get the current values of
this matrix and store them into
dest. |
Matrix2f |
Matrix2fc.get(Matrix2f dest)
Get the current values of
this matrix and store them into
dest. |
Matrix2f |
Matrix2f.identity()
Set this matrix to the identity.
|
Matrix2f |
Matrix2f.invert()
Invert this matrix.
|
Matrix2f |
Matrix2f.invert(Matrix2f dest) |
Matrix2f |
Matrix2fc.invert(Matrix2f dest)
Invert the
this matrix and store the result in dest. |
Matrix2f |
Matrix2f.lerp(Matrix2fc other,
float t)
Linearly interpolate
this and other using the given interpolation factor t
and store the result in this. |
Matrix2f |
Matrix2f.lerp(Matrix2fc other,
float t,
Matrix2f dest) |
Matrix2f |
Matrix2fc.lerp(Matrix2fc other,
float t,
Matrix2f dest)
Linearly interpolate
this and other using the given interpolation factor t
and store the result in dest. |
Matrix2f |
Matrix2f.m00(float m00)
Set the value of the matrix element at column 0 and row 0.
|
Matrix2f |
Matrix2f.m01(float m01)
Set the value of the matrix element at column 0 and row 1.
|
Matrix2f |
Matrix2f.m10(float m10)
Set the value of the matrix element at column 1 and row 0.
|
Matrix2f |
Matrix2f.m11(float m11)
Set the value of the matrix element at column 1 and row 1.
|
Matrix2f |
Matrix2f.mul(Matrix2fc right)
Multiply this matrix by the supplied
right matrix. |
Matrix2f |
Matrix2f.mul(Matrix2fc right,
Matrix2f dest) |
Matrix2f |
Matrix2fc.mul(Matrix2fc right,
Matrix2f dest)
Multiply this matrix by the supplied
right matrix and store the result in dest. |
Matrix2f |
Matrix2f.mulComponentWise(Matrix2fc other)
Component-wise multiply
this by other. |
Matrix2f |
Matrix2f.mulComponentWise(Matrix2fc other,
Matrix2f dest) |
Matrix2f |
Matrix2fc.mulComponentWise(Matrix2fc other,
Matrix2f dest)
Component-wise multiply
this by other and store the result in dest. |
Matrix2f |
Matrix2f.mulLocal(Matrix2fc left)
Pre-multiply this matrix by the supplied
left matrix and store the result in this. |
Matrix2f |
Matrix2f.mulLocal(Matrix2fc left,
Matrix2f dest) |
Matrix2f |
Matrix2fc.mulLocal(Matrix2fc left,
Matrix2f dest)
Pre-multiply this matrix by the supplied
left matrix and store the result in dest. |
Matrix2f |
Matrix2f.normal()
Set
this matrix to its own normal matrix. |
Matrix2f |
Matrix2f.normal(Matrix2f dest)
Compute a normal matrix from
this matrix and store it into dest. |
Matrix2f |
Matrix2fc.normal(Matrix2f dest)
Compute a normal matrix from
this matrix and store it into dest. |
Matrix2f |
Matrix2f.rotate(float angle)
Apply rotation about the origin to this matrix by rotating the given amount of radians.
|
Matrix2f |
Matrix2f.rotate(float angle,
Matrix2f dest) |
Matrix2f |
Matrix2fc.rotate(float ang,
Matrix2f dest)
Apply rotation to this matrix by rotating the given amount of radians
and store the result in
dest. |
Matrix2f |
Matrix2f.rotateLocal(float angle)
Pre-multiply a rotation to this matrix by rotating the given amount of radians about the origin.
|
Matrix2f |
Matrix2f.rotateLocal(float angle,
Matrix2f dest) |
Matrix2f |
Matrix2fc.rotateLocal(float ang,
Matrix2f dest)
Pre-multiply a rotation to this matrix by rotating the given amount of radians
and store the result in
dest. |
Matrix2f |
Matrix2f.rotation(float angle)
Set this matrix to a rotation matrix which rotates the given radians about the origin.
|
Matrix2f |
Matrix2f.scale(float xy)
Apply scaling to this matrix by uniformly scaling all base axes by the given
xy factor. |
Matrix2f |
Matrix2f.scale(float x,
float y)
Apply scaling to this matrix by scaling the base axes by the given x and
y factors.
|
Matrix2f |
Matrix2f.scale(float x,
float y,
Matrix2f dest) |
Matrix2f |
Matrix2fc.scale(float x,
float y,
Matrix2f dest)
Apply scaling to this matrix by scaling the base axes by the given x and
y factors and store the result in
dest. |
Matrix2f |
Matrix2f.scale(float xy,
Matrix2f dest) |
Matrix2f |
Matrix2fc.scale(float xy,
Matrix2f dest)
Apply scaling to this matrix by uniformly scaling all base axes by the given
xy factor
and store the result in dest. |
Matrix2f |
Matrix2f.scale(Vector2fc xy)
Apply scaling to this matrix by scaling the base axes by the given
xy.x and
xy.y factors, respectively. |
Matrix2f |
Matrix2f.scale(Vector2fc xy,
Matrix2f dest) |
Matrix2f |
Matrix2fc.scale(Vector2fc xy,
Matrix2f dest)
Apply scaling to
this matrix by scaling the base axes by the given xy.x and
xy.y factors, respectively and store the result in dest. |
Matrix2f |
Matrix2f.scaleLocal(float x,
float y)
Pre-multiply scaling to this matrix by scaling the base axes by the given x and
y factors.
|
Matrix2f |
Matrix2f.scaleLocal(float x,
float y,
Matrix2f dest) |
Matrix2f |
Matrix2fc.scaleLocal(float x,
float y,
Matrix2f dest)
Pre-multiply scaling to
this matrix by scaling the base axes by the given x and
y factors and store the result in dest. |
Matrix2f |
Matrix2f.scaling(float factor)
Set this matrix to be a simple scale matrix, which scales all axes uniformly by the given factor.
|
Matrix2f |
Matrix2f.scaling(float x,
float y)
Set this matrix to be a simple scale matrix.
|
Matrix2f |
Matrix2f.scaling(Vector2fc xy)
Set this matrix to be a simple scale matrix which scales the base axes by
xy.x and xy.y respectively. |
Matrix2f |
Matrix2f.set(ByteBuffer buffer)
Set the values of this matrix by reading 4 float values from the given
ByteBuffer in column-major order,
starting at its current position. |
Matrix2f |
Matrix2f.set(float[] m)
Set the values in this matrix based on the supplied float array.
|
Matrix2f |
Matrix2f.set(FloatBuffer buffer)
Set the values of this matrix by reading 4 float values from the given
FloatBuffer in column-major order,
starting at its current position. |
Matrix2f |
Matrix2f.set(float m00,
float m01,
float m10,
float m11)
Set the values within this matrix to the supplied float values.
|
Matrix2f |
Matrix2f.set(int column,
int row,
float value)
Set the matrix element at the given column and row to the specified value.
|
Matrix2f |
Matrix2f.set(Matrix2fc m)
Set the elements of this matrix to the ones in
m. |
Matrix2f |
Matrix2f.set(Matrix3fc m)
Set the elements of this matrix to the upper left 2x2 of the given
Matrix3fc. |
Matrix2f |
Matrix2f.set(Matrix3x2fc m)
Set the elements of this matrix to the left 2x2 submatrix of
m. |
Matrix2f |
Matrix2f.set(Vector2fc col0,
Vector2fc col1)
Set the two columns of this matrix to the supplied vectors, respectively.
|
Matrix2f |
Matrix2f.setColumn(int column,
float x,
float y)
Set the column at the given
column index, starting with 0. |
Matrix2f |
Matrix2f.setColumn(int column,
Vector2fc src)
Set the column at the given
column index, starting with 0. |
Matrix2f |
Matrix2f.setRow(int row,
float x,
float y)
Set the row at the given
row index, starting with 0. |
Matrix2f |
Matrix2f.setRow(int row,
Vector2fc src)
Set the row at the given
row index, starting with 0. |
Matrix2f |
Matrix2f.sub(Matrix2fc subtrahend)
Component-wise subtract
subtrahend from this. |
Matrix2f |
Matrix2f.sub(Matrix2fc other,
Matrix2f dest) |
Matrix2f |
Matrix2fc.sub(Matrix2fc subtrahend,
Matrix2f dest)
Component-wise subtract
subtrahend from this and store the result in dest. |
Matrix2f |
Matrix2f.swap(Matrix2f other)
Exchange the values of
this matrix with the given other matrix. |
Matrix2f |
Matrix2f.transpose()
Transpose this matrix.
|
Matrix2f |
Matrix2f.transpose(Matrix2f dest) |
Matrix2f |
Matrix2fc.transpose(Matrix2f dest)
Transpose
this matrix and store the result in dest. |
Matrix2f |
Matrix2f.zero()
Set all values within this matrix to zero.
|
| Modifier and Type | Method and Description |
|---|---|
Matrix2f |
Matrix2f.add(Matrix2fc other,
Matrix2f dest) |
Matrix2f |
Matrix2fc.add(Matrix2fc other,
Matrix2f dest)
Component-wise add
this and other and store the result in dest. |
Matrix2f |
Matrix2f.get(Matrix2f dest)
Get the current values of
this matrix and store them into
dest. |
Matrix2f |
Matrix2fc.get(Matrix2f dest)
Get the current values of
this matrix and store them into
dest. |
Matrix2f |
Matrix2f.invert(Matrix2f dest) |
Matrix2f |
Matrix2fc.invert(Matrix2f dest)
Invert the
this matrix and store the result in dest. |
Matrix2f |
Matrix2f.lerp(Matrix2fc other,
float t,
Matrix2f dest) |
Matrix2f |
Matrix2fc.lerp(Matrix2fc other,
float t,
Matrix2f dest)
Linearly interpolate
this and other using the given interpolation factor t
and store the result in dest. |
Matrix2f |
Matrix2f.mul(Matrix2fc right,
Matrix2f dest) |
Matrix2f |
Matrix2fc.mul(Matrix2fc right,
Matrix2f dest)
Multiply this matrix by the supplied
right matrix and store the result in dest. |
Matrix2f |
Matrix2f.mulComponentWise(Matrix2fc other,
Matrix2f dest) |
Matrix2f |
Matrix2fc.mulComponentWise(Matrix2fc other,
Matrix2f dest)
Component-wise multiply
this by other and store the result in dest. |
Matrix2f |
Matrix2f.mulLocal(Matrix2fc left,
Matrix2f dest) |
Matrix2f |
Matrix2fc.mulLocal(Matrix2fc left,
Matrix2f dest)
Pre-multiply this matrix by the supplied
left matrix and store the result in dest. |
Matrix2f |
Matrix2f.normal(Matrix2f dest)
Compute a normal matrix from
this matrix and store it into dest. |
Matrix2f |
Matrix2fc.normal(Matrix2f dest)
Compute a normal matrix from
this matrix and store it into dest. |
Matrix2f |
Matrix2f.rotate(float angle,
Matrix2f dest) |
Matrix2f |
Matrix2fc.rotate(float ang,
Matrix2f dest)
Apply rotation to this matrix by rotating the given amount of radians
and store the result in
dest. |
Matrix2f |
Matrix2f.rotateLocal(float angle,
Matrix2f dest) |
Matrix2f |
Matrix2fc.rotateLocal(float ang,
Matrix2f dest)
Pre-multiply a rotation to this matrix by rotating the given amount of radians
and store the result in
dest. |
Matrix2f |
Matrix2f.scale(float x,
float y,
Matrix2f dest) |
Matrix2f |
Matrix2fc.scale(float x,
float y,
Matrix2f dest)
Apply scaling to this matrix by scaling the base axes by the given x and
y factors and store the result in
dest. |
Matrix2f |
Matrix2f.scale(float xy,
Matrix2f dest) |
Matrix2f |
Matrix2fc.scale(float xy,
Matrix2f dest)
Apply scaling to this matrix by uniformly scaling all base axes by the given
xy factor
and store the result in dest. |
Matrix2f |
Matrix2f.scale(Vector2fc xy,
Matrix2f dest) |
Matrix2f |
Matrix2fc.scale(Vector2fc xy,
Matrix2f dest)
Apply scaling to
this matrix by scaling the base axes by the given xy.x and
xy.y factors, respectively and store the result in dest. |
Matrix2f |
Matrix2f.scaleLocal(float x,
float y,
Matrix2f dest) |
Matrix2f |
Matrix2fc.scaleLocal(float x,
float y,
Matrix2f dest)
Pre-multiply scaling to
this matrix by scaling the base axes by the given x and
y factors and store the result in dest. |
Matrix2f |
Matrix2f.sub(Matrix2fc other,
Matrix2f dest) |
Matrix2f |
Matrix2fc.sub(Matrix2fc subtrahend,
Matrix2f dest)
Component-wise subtract
subtrahend from this and store the result in dest. |
Matrix2f |
Matrix2f.swap(Matrix2f other)
Exchange the values of
this matrix with the given other matrix. |
Matrix2f |
Matrix2f.transpose(Matrix2f dest) |
Matrix2f |
Matrix2fc.transpose(Matrix2f dest)
Transpose
this matrix and store the result in dest. |
| Modifier and Type | Method and Description |
|---|---|
abstract void |
MemUtil.copy(float[] arr,
int off,
Matrix2f dest) |
void |
MemUtil.MemUtilNIO.copy(float[] arr,
int off,
Matrix2f dest) |
abstract void |
MemUtil.copy(Matrix2f src,
float[] dest,
int off) |
void |
MemUtil.MemUtilNIO.copy(Matrix2f src,
float[] dest,
int off) |
abstract void |
MemUtil.copy(Matrix2f src,
Matrix2f dest) |
void |
MemUtil.MemUtilNIO.copy(Matrix2f src,
Matrix2f dest) |
abstract void |
MemUtil.copy(Matrix2f src,
Matrix3f dest) |
void |
MemUtil.MemUtilNIO.copy(Matrix2f src,
Matrix3f dest) |
abstract void |
MemUtil.copy(Matrix2f src,
Matrix3x2f dest) |
void |
MemUtil.MemUtilNIO.copy(Matrix2f src,
Matrix3x2f dest) |
abstract void |
MemUtil.copy(Matrix3f src,
Matrix2f dest) |
void |
MemUtil.MemUtilNIO.copy(Matrix3f src,
Matrix2f dest) |
abstract void |
MemUtil.copy(Matrix3x2f src,
Matrix2f dest) |
void |
MemUtil.MemUtilNIO.copy(Matrix3x2f src,
Matrix2f dest) |
abstract void |
MemUtil.get(Matrix2f m,
int offset,
ByteBuffer src) |
void |
MemUtil.MemUtilNIO.get(Matrix2f m,
int offset,
ByteBuffer src) |
abstract void |
MemUtil.get(Matrix2f m,
int offset,
FloatBuffer src) |
void |
MemUtil.MemUtilNIO.get(Matrix2f m,
int offset,
FloatBuffer src) |
abstract void |
MemUtil.identity(Matrix2f dest) |
void |
MemUtil.MemUtilNIO.identity(Matrix2f dest) |
abstract void |
MemUtil.put(Matrix2f m,
int offset,
ByteBuffer dest) |
void |
MemUtil.MemUtilNIO.put(Matrix2f m,
int offset,
ByteBuffer dest) |
abstract void |
MemUtil.put(Matrix2f m,
int offset,
FloatBuffer dest) |
void |
MemUtil.MemUtilNIO.put(Matrix2f m,
int offset,
FloatBuffer dest) |
abstract void |
MemUtil.putTransposed(Matrix2f m,
int offset,
ByteBuffer dest) |
void |
MemUtil.MemUtilNIO.putTransposed(Matrix2f m,
int offset,
ByteBuffer dest) |
abstract void |
MemUtil.putTransposed(Matrix2f m,
int offset,
FloatBuffer dest) |
void |
MemUtil.MemUtilNIO.putTransposed(Matrix2f m,
int offset,
FloatBuffer dest) |
abstract void |
MemUtil.set(Matrix2f dest,
Vector2f col0,
Vector2f col1) |
void |
MemUtil.MemUtilNIO.set(Matrix2f m,
Vector2f col0,
Vector2f col1) |
abstract void |
MemUtil.swap(Matrix2f m1,
Matrix2f m2) |
void |
MemUtil.MemUtilNIO.swap(Matrix2f m1,
Matrix2f m2) |
abstract void |
MemUtil.zero(Matrix2f dest) |
void |
MemUtil.MemUtilNIO.zero(Matrix2f dest) |
Copyright © 2015–2019 JOML. All rights reserved.