com.mojang.math

public final class Transformation

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

Field summary

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

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()
m_121093_()
public Transformation
a(j arg0)
compose(Transformation arg0)
method_22933(class_4590 arg0)
multiply(AffineTransformation other)
m_121096_(C_4649_ arg0)
public Transformation
b()
inverse()
method_22935()
invert()
m_121103_()
private void
h()
ensureDecomposed()
method_22938()
init()
m_121106_()
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)
m_253227_(org.joml.Vector3f p_254465_, org.joml.Quaternionf p_254416_, org.joml.Vector3f p_254499_, org.joml.Quaternionf p_254334_)
public org.joml.Matrix4f
c()
getMatrix()
method_22936()
getMatrix()
m_252783_()
public org.joml.Vector3f
d()
getTranslation()
method_35865()
getTranslation()
m_252829_()
public org.joml.Quaternionf
e()
getLeftRotation()
method_22937()
getLeftRotation()
m_253244_()
public org.joml.Vector3f
f()
getScale()
method_35866()
getScale()
m_252900_()
public org.joml.Quaternionf
g()
getRightRotation()
method_35867()
getRightRotation()
m_252848_()
public Transformation
a(j arg0, float arg1)
slerp(Transformation arg0, float arg1)
method_35864(class_4590 arg0, float arg1)
interpolate(AffineTransformation target, float factor)
m_175937_(C_4649_ p_175939_, float arg1)