package
1.2.0
Repository: https://github.com/go-gl/mathgl.git
Documentation: pkg.go.dev

# Functions

NewTransformStack returns a matrix stack where the top element is the identity.
Rebase replays the current matrix stack as if the transformation that occurred at index "from" in ms had instead started at the top of m.

# Structs

A NoInverseError is returned on rebase when an inverse cannot be found along the chain, due to a transformation projecting the matrix into a singularity.

# Type aliases

A MatStack is an OpenGL-style matrix stack, usually used for things like scenegraphs.
TransformStack is a linear fully-persistent data structure of matrix multiplications Each push to a TransformStack multiplies the current top of the stack with thew new matrix and appends it to the top.