| Package | Description |
|---|---|
| org.joml |
Contains all classes of JOML.
|
| Modifier and Type | Class and Description |
|---|---|
class |
Matrix2d
Contains the definition of a 2x2 matrix of doubles, and associated functions to transform
it.
|
| Modifier and Type | Method and Description |
|---|---|
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) |
boolean |
Matrix2dc.equals(Matrix2dc m,
double delta)
Compare the matrix elements of
this matrix with the given matrix using the given delta
and return whether all of them are equal within a maximum difference of delta. |
boolean |
Matrix2d.equals(Matrix2dc m,
double delta) |
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) |
Vector2f |
Vector2f.mul(Matrix2dc mat)
Multiply the given matrix with this Vector2f and store the result in
this. |
Matrix2d |
Matrix2d.mul(Matrix2dc right)
Multiply this matrix by the supplied
right matrix. |
Vector2d |
Vector2d.mul(Matrix2dc mat)
Multiply the given matrix
mat with this Vector2d. |
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) |
Vector2d |
Vector2d.mul(Matrix2dc mat,
Vector2d dest) |
Vector2d |
Vector2dc.mul(Matrix2dc mat,
Vector2d dest)
Multiply the given matrix
mat with this and store the
result in dest. |
Vector2f |
Vector2fc.mul(Matrix2dc mat,
Vector2f dest)
Multiply the given matrix with this Vector2f and store the result in
dest. |
Vector2f |
Vector2f.mul(Matrix2dc mat,
Vector2f 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) |
Vector2d |
Vector2d.mulTranspose(Matrix2dc mat)
Multiply the transpose of the given matrix with this Vector2d and store the result in
this. |
Vector2d |
Vector2d.mulTranspose(Matrix2dc mat,
Vector2d dest) |
Vector2d |
Vector2dc.mulTranspose(Matrix2dc mat,
Vector2d dest)
Multiply the transpose of the given matrix with this Vector2f and store the result in
dest. |
Matrix3d |
Matrix3d.set(Matrix2dc mat)
|
Matrix2d |
Matrix2d.set(Matrix2dc m)
Set the elements of this matrix to the ones in
m. |
Matrix3x2d |
Matrix3x2d.set(Matrix2dc m)
Set the left 2x2 submatrix of this
Matrix3x2d to the given Matrix2dc and don't change the other elements. |
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) |
| Constructor and Description |
|---|
Matrix2d(Matrix2dc mat)
Create a new
Matrix2d and make it a copy of the given matrix. |
Matrix3d(Matrix2dc mat)
|
Matrix3x2d(Matrix2dc mat)
Create a new
Matrix3x2d by setting its left 2x2 submatrix to the values of the given Matrix2dc
and the rest to identity. |
Copyright © 2015–2019 JOML. All rights reserved.