Class AffineTransformation

java.lang.Object
net.minecraft.util.math.AffineTransformation

@Environment(CLIENT)
public final class AffineTransformation
extends Object
An affine transformation is a decomposition of a 4×4 real matrix into a rotation quaternion, a scale 3-vector, a second rotation quaternion, and a translation 3-vector. It is also known as "TRSR" transformation, meaning "translation rotation scale rotation".

This class is immutable; its matrix is lazily decomposed upon demand.