public class Matrix4x3dStack extends Matrix4x3d
Matrix4x3d instances. This resembles the matrix stack known from legacy OpenGL.
This Matrix4x3dStack class inherits from Matrix4x3d, so the current/top matrix is always the
Matrix4x3dStack/Matrix4x3d itself. This affects all operations in Matrix4x3d that take
another Matrix4x3d as parameter. If a Matrix4x3dStack is used as argument to those methods, the
effective argument will always be the current matrix of the matrix stack.
PLANE_NX, PLANE_NY, PLANE_NZ, PLANE_PX, PLANE_PY, PLANE_PZ, PROPERTY_IDENTITY, PROPERTY_ORTHONORMAL, PROPERTY_TRANSLATION| Constructor and Description |
|---|
Matrix4x3dStack()
Do not invoke manually! Only meant for serialization.
|
Matrix4x3dStack(int stackSize)
Create a new
Matrix4x3dStack of the given size. |
| Modifier and Type | Method and Description |
|---|---|
Matrix4x3dStack |
clear()
Set the stack pointer to zero and set the current/bottom matrix to
identity. |
boolean |
equals(Object obj) |
int |
hashCode() |
Matrix4x3dStack |
popMatrix()
Decrement the stack pointer by one.
|
Matrix4x3dStack |
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, _m02, _m10, _m11, _m12, _m20, _m21, _m22, _m30, _m31, _m32, add, add, add, add, arcball, arcball, arcball, arcball, assume, billboardCylindrical, billboardSpherical, billboardSpherical, determinant, determineProperties, equals, fma, fma, fma, fma, frustumPlane, get, get, get, get, get, get, get, get, get, get, get, get, get4x4, get4x4, get4x4, get4x4, get4x4, get4x4, get4x4, get4x4, getColumn, getEulerAnglesZYX, getFloats, getFloats, getNormalizedRotation, getNormalizedRotation, getRow, getScale, getTranslation, getTransposed, getTransposed, getTransposed, getTransposed, getTransposed, getTransposed, getTransposed, getTransposed, getTransposedFloats, getTransposedFloats, getUnnormalizedRotation, getUnnormalizedRotation, identity, invert, invert, invertOrtho, invertOrtho, lerp, lerp, lookAlong, lookAlong, lookAlong, lookAlong, lookAt, lookAt, lookAt, lookAt, lookAtLH, lookAtLH, lookAtLH, lookAtLH, m00, m00, m01, m01, m02, m02, m10, m10, m11, m11, m12, m12, m20, m20, m21, m21, m22, m22, m30, m30, m31, m31, m32, m32, mul, mul, mul, mul, mulComponentWise, mulComponentWise, mulOrtho, mulOrtho, mulTranslation, mulTranslation, normal, normal, normal, normalize3x3, normalize3x3, normalize3x3, normalizedPositiveX, normalizedPositiveY, normalizedPositiveZ, obliqueZ, obliqueZ, origin, ortho, ortho, ortho, ortho, ortho2D, ortho2D, ortho2DLH, ortho2DLH, orthoLH, orthoLH, orthoLH, orthoLH, orthoSymmetric, orthoSymmetric, orthoSymmetric, orthoSymmetric, orthoSymmetricLH, orthoSymmetricLH, orthoSymmetricLH, orthoSymmetricLH, pick, pick, positiveX, positiveY, positiveZ, properties, reflect, reflect, reflect, reflect, reflect, reflect, reflect, reflect, reflection, reflection, reflection, reflection, rotate, rotate, rotate, rotate, rotate, rotate, rotate, rotate, rotate, rotate, rotate, rotate, rotate, rotate, rotateAround, rotateAround, rotateLocal, rotateLocal, rotateLocal, rotateLocal, rotateLocal, rotateLocal, rotateLocalX, rotateLocalX, rotateLocalY, rotateLocalY, rotateLocalZ, rotateLocalZ, rotateTowards, rotateTowards, rotateTowards, rotateTowards, rotateTranslation, rotateTranslation, rotateTranslation, rotateX, rotateX, rotateXYZ, rotateXYZ, rotateXYZ, rotateY, rotateY, rotateYXZ, rotateYXZ, rotateYXZ, rotateZ, rotateZ, rotateZYX, rotateZYX, rotateZYX, rotation, rotation, rotation, rotation, rotation, rotation, rotation, rotationAround, rotationTowards, rotationTowards, rotationX, rotationXYZ, rotationY, rotationYXZ, rotationZ, rotationZYX, scale, scale, scale, scale, scale, scale, scaleLocal, scaleLocal, scaleXY, scaleXY, scaling, scaling, scaling, set, set, set, set, set, set, set, set, set, set, set, set, set, set, set, set, set, set3x3, set3x3, set3x3, setColumn, setFloats, setLookAlong, setLookAlong, setLookAt, setLookAt, setLookAtLH, setLookAtLH, setOrtho, setOrtho, setOrtho2D, setOrtho2DLH, setOrthoLH, setOrthoLH, setOrthoSymmetric, setOrthoSymmetric, setOrthoSymmetricLH, setOrthoSymmetricLH, setRotationXYZ, setRotationYXZ, setRotationZYX, setRow, setTranslation, setTranslation, shadow, shadow, shadow, shadow, shadow, shadow, shadow, shadow, sub, sub, sub, sub, swap, toString, toString, transform, transform, transformAab, transformAab, transformDirection, transformDirection, transformPosition, transformPosition, translate, translate, translate, translate, translate, translate, translateLocal, translateLocal, translateLocal, translateLocal, translateLocal, translateLocal, translation, translation, translation, translationRotate, translationRotateMul, translationRotateMul, translationRotateScale, translationRotateScale, translationRotateScale, translationRotateScaleMul, translationRotateScaleMul, translationRotateTowards, translationRotateTowards, transpose3x3, transpose3x3, transpose3x3, zeropublic Matrix4x3dStack(int stackSize)
Matrix4x3dStack 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 Matrix4x3dStack simply only consists of this
Matrix4x3dpublic Matrix4x3dStack()
Invoking this constructor from client code will result in an inconsistent state of the
created Matrix4x3dStack instance.
public Matrix4x3dStack clear()
identity.public Matrix4x3dStack pushMatrix()
public Matrix4x3dStack popMatrix()
This will effectively dispose of the current matrix.
public int hashCode()
hashCode in class Matrix4x3dpublic boolean equals(Object obj)
equals in class Matrix4x3dpublic void writeExternal(ObjectOutput out) throws IOException
writeExternal in interface ExternalizablewriteExternal in class Matrix4x3dIOExceptionpublic void readExternal(ObjectInput in) throws IOException
readExternal in interface ExternalizablereadExternal in class Matrix4x3dIOExceptionCopyright © 2015–2019 JOML. All rights reserved.