Class Transformation

java.lang.Object
com.mojang.math.Transformation
All Implemented Interfaces:
ITransformationExtension

public final class Transformation extends Object implements ITransformationExtension
  • Field Details

    • matrix

      private final Matrix4fc matrix
    • CODEC

      public static final com.mojang.serialization.Codec<Transformation> CODEC
    • EXTENDED_CODEC

      public static final com.mojang.serialization.Codec<Transformation> EXTENDED_CODEC
    • decomposed

      private boolean decomposed
    • translation

      @Nullable private Vector3f translation
    • leftRotation

      @Nullable private Quaternionf leftRotation
    • scale

      @Nullable private Vector3f scale
    • rightRotation

      @Nullable private Quaternionf rightRotation
    • IDENTITY

      private static final Transformation IDENTITY
    • normalTransform

      private Matrix3f normalTransform
  • Constructor Details

    • Transformation

      public Transformation(@Nullable Matrix4fc p_404715_)
    • Transformation

      public Transformation(@Nullable Vector3f p_253831_, @Nullable Quaternionf p_253846_, @Nullable Vector3f p_254502_, @Nullable Quaternionf p_253912_)
  • Method Details