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