Get the current values of this
matrix and store them as
the rotational component of dest
.
Get the current values of this
matrix and store them into
dest
.
Get the current values of this
matrix and store them into
dest
.
Set this matrix to the identity.
Invert this matrix by assuming a third row in this matrix of (0, 0, 1)
.
Invert the this
matrix by assuming a third row in this matrix of (0, 0, 1)
and store the result in dest
.
Invert the this
matrix by assuming a third row in this matrix of (0, 0, 1)
and store the result in dest
.
Multiply this matrix by the supplied right
matrix by assuming a third row in
both matrices of (0, 0, 1)
.
Multiply this matrix by the supplied right
matrix by assuming a third row in
both matrices of (0, 0, 1)
and store the result in dest
.
Multiply this matrix by the supplied right
matrix by assuming a third row in
both matrices of (0, 0, 1)
and store the result in dest
.
Pre-multiply this matrix by the supplied left
matrix and store the result in this
.
Pre-multiply this matrix by the supplied left
matrix and store the result in dest
.
Apply a rotation transformation to this matrix by rotating the given amount of radians.
Apply a rotation transformation to this matrix by rotating the given amount of radians and store the result in dest
.
Apply a rotation transformation to this matrix by rotating the given amount of radians and store the result in dest
.
Apply a rotation transformation to this matrix by rotating the given amount of radians about
the specified rotation center (x, y)
.
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
.
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
.
Pre-multiply a rotation to this matrix by rotating the given amount of radians.
Pre-multiply a rotation to this matrix by rotating the given amount of radians and store the result in dest
.
Pre-multiply a rotation to this matrix by rotating the given amount of radians and store the result in dest
.
Apply a rotation transformation to this matrix that rotates the given normalized fromDir
direction vector
to point along the normalized toDir
.
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
.
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
.
Set this matrix to a rotation matrix which rotates the given radians.
Matrix3x2f.scale(float xy)
Apply scaling to this matrix by uniformly scaling the two base axes by the given xyz
factor.
Matrix3x2f.scale(float x,
float y)
Apply scaling to this matrix by scaling the base axes by the given x and y factors.
Apply scaling to this matrix by scaling the unit axes by the given x and y and store the result in dest
.
Apply scaling to this matrix by uniformly scaling the two base axes by the given xy
factor
and store the result in dest
.
Apply scaling to this matrix by scaling the base axes by the given xy
factors.
Apply scaling to this matrix by scaling the base axes by the given xy
factors
and store the result in dest
.
Apply scaling to this matrix by scaling the unit axes by the given x and y and store the result in dest
.
Apply scaling to this matrix by uniformly scaling the two base axes by the given xy
factor
and store the result in dest
.
Apply scaling to this matrix by scaling the base axes by the given xy
factors
and store the result in dest
.
Matrix3x2f.scaleAround(float factor,
float ox,
float oy)
Apply scaling to this matrix by scaling the base axes by the given factor
while using (ox, oy)
as the scaling origin.
Matrix3x2f.scaleAround(float sx,
float sy,
float ox,
float oy)
Apply scaling to this matrix by scaling the base axes by the given sx and
sy factors while using (ox, oy)
as the scaling origin.
Apply scaling to this
matrix by scaling the base axes by the given sx and
sy factors while using (ox, oy)
as the scaling origin, and store the result in dest
.
Apply scaling to this matrix by scaling the base axes by the given factor
while using (ox, oy)
as the scaling origin,
and store the result in dest
.
Apply scaling to this
matrix by scaling the base axes by the given sx and
sy factors while using (ox, oy)
as the scaling origin, and store the result in dest
.
Apply scaling to this matrix by scaling the base axes by the given factor
while using (ox, oy)
as the scaling origin,
and store the result in dest
.
Pre-multiply scaling to this matrix by scaling the base axes by the given factor
while using (ox, oy)
as the scaling origin.
Matrix3x2f.scaleAroundLocal(float sx,
float sy,
float sz,
float ox,
float oy,
float oz)
Pre-multiply scaling to this matrix by scaling the base axes by the given sx and
sy factors while using (ox, oy)
as the scaling origin.
Pre-multiply scaling to this
matrix by scaling the base axes by the given sx and
sy factors while using the given (ox, oy)
as the scaling origin,
and store the result in dest
.
Pre-multiply scaling to this matrix by scaling the base axes by the given factor
while using (ox, oy)
as the scaling origin,
and store the result in dest
.
Pre-multiply scaling to this matrix by scaling the base axes by the given xy factor.
Pre-multiply scaling to this matrix by scaling the base axes by the given x and y factors.
Pre-multiply scaling to this
matrix by scaling the base axes by the given x and y
factors and store the result in dest
.
Pre-multiply scaling to this
matrix by scaling the two base axes by the given xy
factor,
and store the result in dest
.
Set this matrix to be a simple scale matrix, which scales the two base axes uniformly by the given factor.
Matrix3x2f.scaling(float x,
float y)
Set this matrix to be a simple scale matrix.
Matrix3x2f.set(float[] m)
Set the values in this matrix based on the supplied float array.
Matrix3x2f.set(float m00,
float m01,
float m10,
float m11,
float m20,
float m21)
Set the values within this matrix to the supplied float values.
Set the values of this matrix by reading 6 float values from the given
ByteBuffer
in column-major order,
starting at the specified absolute buffer position/index.
Set the values of this matrix by reading 6 float values from the given
FloatBuffer
in column-major order,
starting at the specified absolute buffer position/index.
Set the values of this matrix by reading 6 float values from the given
ByteBuffer
in column-major order,
starting at its current position.
Set the values of this matrix by reading 6 float values from the given
FloatBuffer
in column-major order,
starting at its current position.
Set the left 2x2 submatrix of this
Matrix3x2f
to the given
Matrix2fc
and don't change the other elements.
Set the elements of this matrix to the ones in m
.
Set the values of this matrix by reading 6 float values from off-heap memory in column-major order,
starting at the given address.
Set only the translation components of this matrix (m20, m21)
to the given values (x, y)
.
Set only the translation components of this matrix (m20, m21)
to the given values (offset.x, offset.y)
.
Matrix3x2f.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.
Matrix3x2f.shearX(float yFactor)
Apply shearing to this matrix by shearing along the X axis using the Y axis factor yFactor
.
Apply shearing to this matrix by shearing along the X axis using the Y axis factor yFactor
,
and store the result in dest
.
Matrix3x2f.shearY(float xFactor)
Apply shearing to this matrix by shearing along the Y axis using the X axis factor xFactor
.
Apply shearing to this matrix by shearing along the Y axis using the X axis factor xFactor
,
and store the result in dest
.
Compute the extents of the coordinate system before this transformation was applied and store the resulting
corner coordinates in corner
and the span vectors in xDir
and yDir
.
Apply a translation to this matrix by translating by the given number of units in x and y.
Apply a translation to this matrix by translating by the given number of units in x and y and store the result
in dest
.
Apply a translation to this matrix by translating by the given number of units in x and y.
Apply a translation to this matrix by translating by the given number of units in x and y, and
store the result in 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
.
Apply a translation to this matrix by translating by the given number of units in x and y, and
store the result in dest
.
Pre-multiply a translation to this matrix by translating by the given number of
units in x and y.
Pre-multiply a translation to this matrix by translating by the given number of
units in x and y and store the result in dest
.
Pre-multiply a translation to this matrix by translating by the given number of
units in x and y.
Pre-multiply a translation to this matrix by translating by the given number of
units in x and y and store the result in dest
.
Pre-multiply a translation to this matrix by translating by the given number of
units in x and y and store the result in dest
.
Pre-multiply a translation to this matrix by translating by the given number of
units in x and y and store the result in dest
.
Set this matrix to be a simple translation matrix in a two-dimensional coordinate system.
Set this matrix to be a simple translation matrix in a two-dimensional coordinate system.
Matrix3x2f.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.
Matrix3x2f.view(float left,
float right,
float bottom,
float top,
Matrix3x2f 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
.
Matrix3x2fc.view(float left,
float right,
float bottom,
float top,
Matrix3x2f 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
.
Set all values within this matrix to zero.
Get the current values of this
matrix and store them as
the rotational component of dest
.
Get the current values of this
matrix and store them into
dest
.
Get the current values of this
matrix and store them into
dest
.
Invert the this
matrix by assuming a third row in this matrix of (0, 0, 1)
and store the result in dest
.
Invert the this
matrix by assuming a third row in this matrix of (0, 0, 1)
and store the result in dest
.
Multiply this matrix by the supplied right
matrix by assuming a third row in
both matrices of (0, 0, 1)
and store the result in dest
.
Multiply this matrix by the supplied right
matrix by assuming a third row in
both matrices of (0, 0, 1)
and store the result in dest
.
Pre-multiply this matrix by the supplied left
matrix and store the result in dest
.
Apply a rotation transformation to this matrix by rotating the given amount of radians and store the result in dest
.
Apply a rotation transformation to this matrix by rotating the given amount of radians and store the result in 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
.
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
.
Pre-multiply a rotation to this matrix by rotating the given amount of radians and store the result in dest
.
Pre-multiply a rotation to this matrix by rotating the given amount of radians and store the result in 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
.
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
.
Apply scaling to this matrix by scaling the unit axes by the given x and y and store the result in dest
.
Apply scaling to this matrix by uniformly scaling the two base axes by the given xy
factor
and store the result in dest
.
Apply scaling to this matrix by scaling the base axes by the given xy
factors
and store the result in dest
.
Apply scaling to this matrix by scaling the unit axes by the given x and y and store the result in dest
.
Apply scaling to this matrix by uniformly scaling the two base axes by the given xy
factor
and store the result in dest
.
Apply scaling to this matrix by scaling the base axes by the given xy
factors
and store the result in dest
.
Apply scaling to this
matrix by scaling the base axes by the given sx and
sy factors while using (ox, oy)
as the scaling origin, and store the result in dest
.
Apply scaling to this matrix by scaling the base axes by the given factor
while using (ox, oy)
as the scaling origin,
and store the result in dest
.
Apply scaling to this
matrix by scaling the base axes by the given sx and
sy factors while using (ox, oy)
as the scaling origin, and store the result in dest
.
Apply scaling to this matrix by scaling the base axes by the given factor
while using (ox, oy)
as the scaling origin,
and store the result in dest
.
Pre-multiply scaling to this
matrix by scaling the base axes by the given sx and
sy factors while using the given (ox, oy)
as the scaling origin,
and store the result in dest
.
Pre-multiply scaling to this matrix by scaling the base axes by the given factor
while using (ox, oy)
as the scaling origin,
and store the result in 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
.
Pre-multiply scaling to this
matrix by scaling the two base axes by the given xy
factor,
and store the result in dest
.
Apply shearing to this matrix by shearing along the X axis using the Y axis factor yFactor
,
and store the result in dest
.
Apply shearing to this matrix by shearing along the Y axis using the X axis factor xFactor
,
and store the result in 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
.
Apply a translation to this matrix by translating by the given number of units in x and y, and
store the result in 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
.
Apply a translation to this matrix by translating by the given number of units in x and y, and
store the result in dest
.
Pre-multiply a translation to this matrix by translating by the given number of
units in x and y and store the result in dest
.
Pre-multiply a translation to this matrix by translating by the given number of
units in x and y and store the result in dest
.
Pre-multiply a translation to this matrix by translating by the given number of
units in x and y and store the result in dest
.
Pre-multiply a translation to this matrix by translating by the given number of
units in x and y and store the result in dest
.
Matrix3x2f.view(float left,
float right,
float bottom,
float top,
Matrix3x2f 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
.
Matrix3x2fc.view(float left,
float right,
float bottom,
float top,
Matrix3x2f 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
.