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