Package org.joml

Class Matrix4fStack

java.lang.Object
org.joml.Matrix4f
org.joml.Matrix4fStack
All Implemented Interfaces:
Externalizable, Serializable, Cloneable, Matrix4fc

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

This Matrix4fStack class inherits from Matrix4f, so the current/top matrix is always the Matrix4fStack/Matrix4f itself. This affects all operations in Matrix4f that take another Matrix4f as parameter. If a Matrix4fStack 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: