Package org.joml

Class Matrix4dStack

java.lang.Object
org.joml.Matrix4d
org.joml.Matrix4dStack
All Implemented Interfaces:
Externalizable, Serializable, Cloneable, Matrix4dc

public class Matrix4dStack extends Matrix4d
A stack of many Matrix4d instances. This resembles the matrix stack known from legacy OpenGL.

This Matrix4dStack class inherits from Matrix4d, so the current/top matrix is always the Matrix4dStack/Matrix4d itself. This affects all operations in Matrix4d that take another Matrix4d as parameter. If a Matrix4dStack is used as argument to those methods, the effective argument will always be the current matrix of the matrix stack.

Author:
Kai Burjack
See Also: