| Modifier and Type | Method and Description |
|---|---|
Matrix3f |
Matrix3f.get(Matrix3f dest)
Get the current values of
this matrix and store them into
dest. |
Matrix3f |
Matrix3f.identity()
Set this matrix to the identity.
|
Matrix3f |
Matrix3f.invert()
Invert this matrix.
|
Matrix3f |
Matrix3f.invert(Matrix3f dest)
Invert the
this matrix and store the result in dest. |
Matrix3f |
Matrix3f.mul(Matrix3f right)
Multiply this matrix by the supplied
right matrix. |
Matrix3f |
Matrix3f.mul(Matrix3f right,
Matrix3f dest)
Multiply this matrix by the supplied
right matrix and store the result in dest. |
Matrix3f |
Matrix3f.rotate(float ang)
Apply a rotation transformation to this matrix by rotating the given amount of radians.
|
Matrix3f |
Matrix3f.rotate(float ang,
Matrix3f dest)
Apply a rotation transformation to this matrix by rotating the given amount of radians and store the result in
dest. |
Matrix3f |
Matrix3f.rotateAbout(float ang,
float x,
float y)
Apply a rotation transformation to this matrix by rotating the given amount of radians about
the specified rotation center (x, y).
|
Matrix3f |
Matrix3f.rotateAbout(float ang,
float x,
float y,
Matrix3f dest)
Apply a rotation transformation to this matrix by rotating the given amount of radians about
the specified rotation center (x, y) and store the result in
dest. |
Matrix3f |
Matrix3f.rotateTo(Vector2f fromDir,
Vector2f toDir)
Apply a rotation transformation to this matrix that rotates the given normalized
fromDir direction vector
to point along the normalized toDir. |
Matrix3f |
Matrix3f.rotateTo(Vector2f fromDir,
Vector2f toDir,
Matrix3f dest)
Apply a rotation transformation to this matrix that rotates the given normalized
fromDir direction vector
to point along the normalized toDir, and store the result in dest. |
Matrix3f |
Matrix3f.rotation(float angle)
Set this matrix to a rotation matrix which rotates the given radians.
|
Matrix3f |
Matrix3f.scale(float xy)
Apply scaling to this matrix by uniformly scaling the two base axes by the given
xyz factor. |
Matrix3f |
Matrix3f.scale(float x,
float y)
Apply scaling to this matrix by scaling the unit axes by the given x and y factors.
|
Matrix3f |
Matrix3f.scale(float x,
float y,
Matrix3f dest)
Apply scaling to this matrix by scaling the unit axes by the given x and y and store the result in
dest. |
Matrix3f |
Matrix3f.scale(float xy,
Matrix3f dest)
Apply scaling to this matrix by uniformly scaling the two base axes by the given
xy factor
and store the result in dest. |
Matrix3f |
Matrix3f.scaling(float factor)
Set this matrix to be a simple scale matrix, which scales the two base axes uniformly by the given factor.
|
Matrix3f |
Matrix3f.scaling(float x,
float y)
Set this matrix to be a simple scale matrix.
|
Matrix3f |
Matrix3f.set(ByteBuffer buffer)
Set the values of this matrix by reading 9 float values from the given
ByteBuffer in column-major order,
starting at its current position. |
Matrix3f |
Matrix3f.set(float[] m)
Set the values in this matrix based on the supplied float array.
|
Matrix3f |
Matrix3f.set(FloatBuffer buffer)
Set the values of this matrix by reading 9 float values from the given
FloatBuffer in column-major order,
starting at its current position. |
Matrix3f |
Matrix3f.set(float m00,
float m01,
float m02,
float m10,
float m11,
float m12,
float m20,
float m21,
float m22)
Set the values within this matrix to the supplied float values.
|
Matrix3f |
Matrix3f.set(Matrix3f m)
Set the elements of this matrix to the ones in
m. |
Matrix3f |
Matrix3f.setTranslation(float x,
float y)
Set only the translation components of this matrix (m20, m21) to the given values (x, y).
|
Matrix3f |
Matrix3f.setTranslation(Vector2f offset)
Set only the translation components of this matrix (m20, m21) to the given values (offset.x, offset.y).
|
Matrix3f |
Matrix3f.setView(float left,
float right,
float bottom,
float top)
Set this matrix to define a "view" transformation that maps the given (left, bottom) and
(right, top) corners to (-1, -1) and (1, 1) respectively.
|
Matrix3f |
Matrix3f.transform(Vector2f v)
Transform the given vector by this matrix.
|
Matrix3f |
Matrix3f.translate(float x,
float y)
Apply a translation to this matrix by translating by the given number of units in x and y.
|
Matrix3f |
Matrix3f.translate(float x,
float y,
Matrix3f dest)
Apply a translation to this matrix by translating by the given number of units in x and y and store the result
in
dest. |
Matrix3f |
Matrix3f.translate(Vector2f offset)
Apply a translation to this matrix by translating by the given number of units in x and y.
|
Matrix3f |
Matrix3f.translate(Vector2f offset,
Matrix3f dest)
Apply a translation to this matrix by translating by the given number of units in x and y, and
store the result in
dest. |
Matrix3f |
Matrix3f.translation(float x,
float y)
Set this matrix to be a simple translation matrix in a two-dimensional coordinate system.
|
Matrix3f |
Matrix3f.translation(Vector2f offset)
Set this matrix to be a simple translation matrix in a two-dimensional coordinate system.
|
Matrix3f |
Matrix3f.transpose()
Transpose this matrix.
|
Matrix3f |
Matrix3f.transpose(Matrix3f dest)
Transpose
this matrix and store the result in dest. |
Matrix3f |
Matrix3f.view(float left,
float right,
float bottom,
float top)
Apply a "view" transformation to this matrix that maps the given (left, bottom) and
(right, top) corners to (-1, -1) and (1, 1) respectively.
|
Matrix3f |
Matrix3f.view(float left,
float right,
float bottom,
float top,
Matrix3f dest)
Apply a "view" transformation to this matrix that maps the given (left, bottom) and
(right, top) corners to (-1, -1) and (1, 1) respectively and store the result in
dest. |
Matrix3f |
Matrix3f.zero()
Set all values within this matrix to zero.
|
| Modifier and Type | Method and Description |
|---|---|
Matrix3f |
Matrix3f.get(Matrix3f dest)
Get the current values of
this matrix and store them into
dest. |
Matrix3f |
Matrix3f.invert(Matrix3f dest)
Invert the
this matrix and store the result in dest. |
Vector2f |
Vector2f.mul(Matrix3f m)
Multiply this vector by the given matrix.
|
Matrix3f |
Matrix3f.mul(Matrix3f right)
Multiply this matrix by the supplied
right matrix. |
Matrix3f |
Matrix3f.mul(Matrix3f right,
Matrix3f dest)
Multiply this matrix by the supplied
right matrix and store the result in dest. |
Vector2f |
Vector2f.mul(Matrix3f m,
Vector2f dest)
Multiply this vector by the given matrix and store the result in
dest. |
Matrix3f |
Matrix3f.rotate(float ang,
Matrix3f dest)
Apply a rotation transformation to this matrix by rotating the given amount of radians and store the result in
dest. |
Matrix3f |
Matrix3f.rotateAbout(float ang,
float x,
float y,
Matrix3f dest)
Apply a rotation transformation to this matrix by rotating the given amount of radians about
the specified rotation center (x, y) and store the result in
dest. |
Matrix3f |
Matrix3f.rotateTo(Vector2f fromDir,
Vector2f toDir,
Matrix3f dest)
Apply a rotation transformation to this matrix that rotates the given normalized
fromDir direction vector
to point along the normalized toDir, and store the result in dest. |
Matrix3f |
Matrix3f.scale(float x,
float y,
Matrix3f dest)
Apply scaling to this matrix by scaling the unit axes by the given x and y and store the result in
dest. |
Matrix3f |
Matrix3f.scale(float xy,
Matrix3f dest)
Apply scaling to this matrix by uniformly scaling the two base axes by the given
xy factor
and store the result in dest. |
Matrix3f |
Matrix3f.set(Matrix3f m)
Set the elements of this matrix to the ones in
m. |
Matrix3f |
Matrix3f.translate(float x,
float y,
Matrix3f dest)
Apply a translation to this matrix by translating by the given number of units in x and y and store the result
in
dest. |
Matrix3f |
Matrix3f.translate(Vector2f offset,
Matrix3f dest)
Apply a translation to this matrix by translating by the given number of units in x and y, and
store the result in
dest. |
Matrix3f |
Matrix3f.transpose(Matrix3f dest)
Transpose
this matrix and store the result in dest. |
Matrix3f |
Matrix3f.view(float left,
float right,
float bottom,
float top,
Matrix3f dest)
Apply a "view" transformation to this matrix that maps the given (left, bottom) and
(right, top) corners to (-1, -1) and (1, 1) respectively and store the result in
dest. |
| Constructor and Description |
|---|
Matrix3f(Matrix3f mat)
Create a new
Matrix3f and make it a copy of the given matrix. |
Copyright © 2015 JOML. All rights reserved.