public class Matrix3x2fStack extends Matrix3x2f
Matrix3x2f instances. This resembles the matrix stack known from legacy OpenGL.
This Matrix3x2fStack class inherits from Matrix3x2f, so the current/top matrix is always the
Matrix3x2fStack/Matrix3x2f itself. This affects all operations in Matrix3x2f that take
another Matrix3x2f as parameter. If a Matrix3x2fStack is used as argument to those methods, the
effective argument will always be the current matrix of the matrix stack.
| Constructor and Description |
|---|
Matrix3x2fStack()
Do not invoke manually! Only meant for serialization.
|
Matrix3x2fStack(int stackSize)
Create a new
Matrix3x2fStack of the given size. |
| Modifier and Type | Method and Description |
|---|---|
Matrix3x2fStack |
clear()
Set the stack pointer to zero and set the current/bottom matrix to
identity. |
boolean |
equals(Object obj) |
int |
hashCode() |
Matrix3x2fStack |
popMatrix()
Decrement the stack pointer by one.
|
Matrix3x2fStack |
pushMatrix()
Increment the stack pointer by one and set the values of the new current matrix to the one directly below it.
|
void |
readExternal(ObjectInput in) |
void |
writeExternal(ObjectOutput out) |
_m00, _m01, _m10, _m11, _m20, _m21, determinant, equals, get, get, get, get, get, get, get, get3x3, get3x3, get3x3, get3x3, get3x3, get3x3, get4x4, get4x4, get4x4, get4x4, get4x4, get4x4, identity, invert, invert, m00, m01, m10, m11, m20, m21, mul, mul, mulLocal, mulLocal, normalizedPositiveX, normalizedPositiveY, origin, positiveX, positiveY, rotate, rotate, rotateAbout, rotateAbout, rotateLocal, rotateLocal, rotateTo, rotateTo, rotation, scale, scale, scale, scale, scale, scale, scaleAround, scaleAround, scaleAround, scaleAround, scaleAroundLocal, scaleAroundLocal, scaleAroundLocal, scaleAroundLocal, scaleLocal, scaleLocal, scaleLocal, scaleLocal, scaling, scaling, set, set, set, set, set, set, setTranslation, setTranslation, setView, shearX, shearX, shearY, shearY, span, testAar, testCircle, testPoint, toString, toString, transform, transform, transform, transformDirection, transformDirection, transformDirection, transformPosition, transformPosition, transformPosition, translate, translate, translate, translate, translateLocal, translateLocal, translateLocal, translateLocal, translation, translation, unproject, unprojectInv, view, view, viewArea, zeropublic Matrix3x2fStack(int stackSize)
Matrix3x2fStack of the given size.
Initially the stack pointer is at zero and the current matrix is set to identity.
stackSize - the size of the stack. This must be at least 1, in which case the Matrix3x2fStack simply only consists of this
Matrix3x2fpublic Matrix3x2fStack()
Invoking this constructor from client code will result in an inconsistent state of the
created Matrix3x2fStack instance.
public Matrix3x2fStack clear()
identity.public Matrix3x2fStack pushMatrix()
public Matrix3x2fStack popMatrix()
This will effectively dispose of the current matrix.
public int hashCode()
hashCode in class Matrix3x2fpublic boolean equals(Object obj)
equals in class Matrix3x2fpublic void writeExternal(ObjectOutput out) throws IOException
writeExternal in interface ExternalizablewriteExternal in class Matrix3x2fIOExceptionpublic void readExternal(ObjectInput in) throws IOException
readExternal in interface ExternalizablereadExternal in class Matrix3x2fIOExceptionCopyright © 2015–2019 JOML. All rights reserved.