Package org.joml

Class Matrix4dStack

    • Constructor Detail

      • Matrix4dStack

        public Matrix4dStack​(int stackSize)
        Create a new Matrix4dStack of the given size.

        Initially the stack pointer is at zero and the current matrix is set to identity.

        Parameters:
        stackSize - the size of the stack. This must be at least 1, in which case the Matrix4dStack simply only consists of this Matrix4d
      • Matrix4dStack

        public Matrix4dStack​()
        Do not invoke manually! Only meant for serialization.

        Invoking this constructor from client code will result in an inconsistent state of the created Matrix4dStack instance.