com.mojang.math

public final class Transformation

j
com.mojang.math.Transformation
net.minecraft.class_4590
net.minecraft.util.math.AffineTransformation
com.mojang.math.Transformation

Field summary

Modifier and TypeField
private final org.joml.Matrix4f
c
matrix
field_20900
matrix
public static final com.mojang.serialization.Codec<Transformation>
a
CODEC
field_42532
CODEC
public static final com.mojang.serialization.Codec<Transformation>
b
EXTENDED_CODEC
field_42533
ANY_CODEC
private boolean
d
decomposed
field_20901
initialized
private org.joml.Vector3f
e
translation
field_20902
translation
private org.joml.Quaternionf
f
leftRotation
field_20903
leftRotation
private org.joml.Vector3f
g
scale
field_20904
scale
private org.joml.Quaternionf
h
rightRotation
field_20905
rightRotation
private static final Transformation
i
IDENTITY
field_20906
IDENTITY

Constructor summary

ModifierConstructor
public (org.joml.Matrix4f matrix)
public (org.joml.Vector3f translation, org.joml.Quaternionf leftRotation, org.joml.Vector3f scale, org.joml.Quaternionf rightRotation)

Method summary

Modifier and TypeMethod
public static Transformation
a()
identity()
method_22931()
identity()
public Transformation
a(j arg0)
compose(Transformation arg0)
method_22933(class_4590 arg0)
multiply(AffineTransformation other)
public Transformation
b()
inverse()
method_22935()
invert()
private void
h()
ensureDecomposed()
method_22938()
init()
private static org.joml.Matrix4f
a(org.joml.Vector3f arg0, org.joml.Quaternionf arg1, org.joml.Vector3f arg2, org.joml.Quaternionf arg3)
compose(org.joml.Vector3f arg0, org.joml.Quaternionf arg1, org.joml.Vector3f arg2, org.joml.Quaternionf arg3)
method_22934(org.joml.Vector3f arg0, org.joml.Quaternionf arg1, org.joml.Vector3f arg2, org.joml.Quaternionf arg3)
setup(org.joml.Vector3f translation, org.joml.Quaternionf leftRotation, org.joml.Vector3f scale, org.joml.Quaternionf rightRotation)
public org.joml.Matrix4f
c()
getMatrix()
method_22936()
getMatrix()
public org.joml.Vector3f
d()
getTranslation()
method_35865()
getTranslation()
public org.joml.Quaternionf
e()
getLeftRotation()
method_22937()
getLeftRotation()
public org.joml.Vector3f
f()
getScale()
method_35866()
getScale()
public org.joml.Quaternionf
g()
getRightRotation()
method_35867()
getRightRotation()
public Transformation
a(j arg0, float arg1)
slerp(Transformation arg0, float arg1)
method_35864(class_4590 arg0, float arg1)
interpolate(AffineTransformation target, float factor)