Class Matrix3f

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

public final class Matrix3f
extends Object
Mappings:
Namespace Name
official a
intermediary net/minecraft/class_4581
named net/minecraft/util/math/Matrix3f
  • Field Details

    • THREE_PLUS_TWO_SQRT_TWO

      private static final float THREE_PLUS_TWO_SQRT_TWO
      Mappings:
      Namespace Name Mixin selector
      official j La;j:F
      intermediary field_20860 Lnet/minecraft/class_4581;field_20860:F
      named THREE_PLUS_TWO_SQRT_TWO Lnet/minecraft/util/math/Matrix3f;THREE_PLUS_TWO_SQRT_TWO:F
    • COS_PI_OVER_EIGHT

      private static final float COS_PI_OVER_EIGHT
      Mappings:
      Namespace Name Mixin selector
      official k La;k:F
      intermediary field_20861 Lnet/minecraft/class_4581;field_20861:F
      named COS_PI_OVER_EIGHT Lnet/minecraft/util/math/Matrix3f;COS_PI_OVER_EIGHT:F
    • SIN_PI_OVER_EIGHT

      private static final float SIN_PI_OVER_EIGHT
      Mappings:
      Namespace Name Mixin selector
      official l La;l:F
      intermediary field_20862 Lnet/minecraft/class_4581;field_20862:F
      named SIN_PI_OVER_EIGHT Lnet/minecraft/util/math/Matrix3f;SIN_PI_OVER_EIGHT:F
    • SQRT_HALF

      private static final float SQRT_HALF
      Mappings:
      Namespace Name Mixin selector
      official m La;m:F
      intermediary field_20863 Lnet/minecraft/class_4581;field_20863:F
      named SQRT_HALF Lnet/minecraft/util/math/Matrix3f;SQRT_HALF:F
    • a00

      protected float a00
      Mappings:
      Namespace Name Mixin selector
      official a La;a:F
      intermediary field_21633 Lnet/minecraft/class_4581;field_21633:F
      named a00 Lnet/minecraft/util/math/Matrix3f;a00:F
    • a01

      protected float a01
      Mappings:
      Namespace Name Mixin selector
      official b La;b:F
      intermediary field_21634 Lnet/minecraft/class_4581;field_21634:F
      named a01 Lnet/minecraft/util/math/Matrix3f;a01:F
    • a02

      protected float a02
      Mappings:
      Namespace Name Mixin selector
      official c La;c:F
      intermediary field_21635 Lnet/minecraft/class_4581;field_21635:F
      named a02 Lnet/minecraft/util/math/Matrix3f;a02:F
    • a10

      protected float a10
      Mappings:
      Namespace Name Mixin selector
      official d La;d:F
      intermediary field_21636 Lnet/minecraft/class_4581;field_21636:F
      named a10 Lnet/minecraft/util/math/Matrix3f;a10:F
    • a11

      protected float a11
      Mappings:
      Namespace Name Mixin selector
      official e La;e:F
      intermediary field_21637 Lnet/minecraft/class_4581;field_21637:F
      named a11 Lnet/minecraft/util/math/Matrix3f;a11:F
    • a12

      protected float a12
      Mappings:
      Namespace Name Mixin selector
      official f La;f:F
      intermediary field_21638 Lnet/minecraft/class_4581;field_21638:F
      named a12 Lnet/minecraft/util/math/Matrix3f;a12:F
    • a20

      protected float a20
      Mappings:
      Namespace Name Mixin selector
      official g La;g:F
      intermediary field_21639 Lnet/minecraft/class_4581;field_21639:F
      named a20 Lnet/minecraft/util/math/Matrix3f;a20:F
    • a21

      protected float a21
      Mappings:
      Namespace Name Mixin selector
      official h La;h:F
      intermediary field_21640 Lnet/minecraft/class_4581;field_21640:F
      named a21 Lnet/minecraft/util/math/Matrix3f;a21:F
    • a22

      protected float a22
      Mappings:
      Namespace Name Mixin selector
      official i La;i:F
      intermediary field_21641 Lnet/minecraft/class_4581;field_21641:F
      named a22 Lnet/minecraft/util/math/Matrix3f;a22:F
  • Constructor Details

    • Matrix3f

      public Matrix3f()
    • Matrix3f

      public Matrix3f​(Quaternion quaternion)
      Mappings:
      Namespace Name Mixin selector
      official <init> La;<init>(Ld;)V
      intermediary <init> Lnet/minecraft/class_4581;<init>(Lnet/minecraft/class_1158;)V
      named <init> Lnet/minecraft/util/math/Matrix3f;<init>(Lnet/minecraft/util/math/Quaternion;)V
    • Matrix3f

      public Matrix3f​(Matrix4f source)
      Mappings:
      Namespace Name Mixin selector
      official <init> La;<init>(Lb;)V
      intermediary <init> Lnet/minecraft/class_4581;<init>(Lnet/minecraft/class_1159;)V
      named <init> Lnet/minecraft/util/math/Matrix3f;<init>(Lnet/minecraft/util/math/Matrix4f;)V
    • Matrix3f

      public Matrix3f​(Matrix3f source)
      Mappings:
      Namespace Name Mixin selector
      official <init> La;<init>(La;)V
      intermediary <init> Lnet/minecraft/class_4581;<init>(Lnet/minecraft/class_4581;)V
      named <init> Lnet/minecraft/util/math/Matrix3f;<init>(Lnet/minecraft/util/math/Matrix3f;)V
  • Method Details

    • scale

      @Environment(CLIENT) public static Matrix3f scale​(float x, float y, float z)
      Mappings:
      Namespace Name Mixin selector
      official b La;b(FFF)La;
      intermediary method_23963 Lnet/minecraft/class_4581;method_23963(FFF)Lnet/minecraft/class_4581;
      named scale Lnet/minecraft/util/math/Matrix3f;scale(FFF)Lnet/minecraft/util/math/Matrix3f;
    • getSinAndCosOfRotation

      @Environment(CLIENT) private static com.mojang.datafixers.util.Pair<Float,​Float> getSinAndCosOfRotation​(float upperLeft, float diagonalAverage, float lowerRight)
      Mappings:
      Namespace Name Mixin selector
      official a La;a(FFF)Lcom/mojang/datafixers/util/Pair;
      intermediary method_22849 Lnet/minecraft/class_4581;method_22849(FFF)Lcom/mojang/datafixers/util/Pair;
      named getSinAndCosOfRotation Lnet/minecraft/util/math/Matrix3f;getSinAndCosOfRotation(FFF)Lcom/mojang/datafixers/util/Pair;
    • method_22848

      @Environment(CLIENT) private static com.mojang.datafixers.util.Pair<Float,​Float> method_22848​(float float2, float float3)
      Mappings:
      Namespace Name Mixin selector
      official a La;a(FF)Lcom/mojang/datafixers/util/Pair;
      intermediary method_22848 Lnet/minecraft/class_4581;method_22848(FF)Lcom/mojang/datafixers/util/Pair;
      named method_22848 Lnet/minecraft/util/math/Matrix3f;method_22848(FF)Lcom/mojang/datafixers/util/Pair;
    • method_22857

      @Environment(CLIENT) private static Quaternion method_22857​(Matrix3f matrix3f)
      Mappings:
      Namespace Name Mixin selector
      official c La;c(La;)Ld;
      intermediary method_22857 Lnet/minecraft/class_4581;method_22857(Lnet/minecraft/class_4581;)Lnet/minecraft/class_1158;
      named method_22857 Lnet/minecraft/util/math/Matrix3f;method_22857(Lnet/minecraft/util/math/Matrix3f;)Lnet/minecraft/util/math/Quaternion;
    • transpose

      @Environment(CLIENT) public void transpose()
      Mappings:
      Namespace Name Mixin selector
      official a La;a()V
      intermediary method_22847 Lnet/minecraft/class_4581;method_22847()V
      named transpose Lnet/minecraft/util/math/Matrix3f;transpose()V
    • decomposeLinearTransformation

      @Environment(CLIENT) public Triple<Quaternion,​Vec3f,​Quaternion> decomposeLinearTransformation()
      Mappings:
      Namespace Name Mixin selector
      official b La;b()Lorg/apache/commons/lang3/tuple/Triple;
      intermediary method_22853 Lnet/minecraft/class_4581;method_22853()Lorg/apache/commons/lang3/tuple/Triple;
      named decomposeLinearTransformation Lnet/minecraft/util/math/Matrix3f;decomposeLinearTransformation()Lorg/apache/commons/lang3/tuple/Triple;
    • equals

      public boolean equals​(Object object)
      Overrides:
      equals in class Object
      Mappings:
      Namespace Name Mixin selector
      official equals La;equals(Ljava/lang/Object;)Z
      intermediary equals Lnet/minecraft/class_4581;equals(Ljava/lang/Object;)Z
      named equals Lnet/minecraft/util/math/Matrix3f;equals(Ljava/lang/Object;)Z
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
      Mappings:
      Namespace Name Mixin selector
      official hashCode La;hashCode()I
      intermediary hashCode Lnet/minecraft/class_4581;hashCode()I
      named hashCode Lnet/minecraft/util/math/Matrix3f;hashCode()I
    • load

      @Environment(CLIENT) public void load​(Matrix3f source)
      Mappings:
      Namespace Name Mixin selector
      official a La;a(La;)V
      intermediary method_22852 Lnet/minecraft/class_4581;method_22852(Lnet/minecraft/class_4581;)V
      named load Lnet/minecraft/util/math/Matrix3f;load(Lnet/minecraft/util/math/Matrix3f;)V
    • toString

      public String toString()
      Overrides:
      toString in class Object
      Mappings:
      Namespace Name Mixin selector
      official toString La;toString()Ljava/lang/String;
      intermediary toString Lnet/minecraft/class_4581;toString()Ljava/lang/String;
      named toString Lnet/minecraft/util/math/Matrix3f;toString()Ljava/lang/String;
    • loadIdentity

      @Environment(CLIENT) public void loadIdentity()
      Mappings:
      Namespace Name Mixin selector
      official c La;c()V
      intermediary method_22856 Lnet/minecraft/class_4581;method_22856()V
      named loadIdentity Lnet/minecraft/util/math/Matrix3f;loadIdentity()V
    • determinantAndAdjugate

      @Environment(CLIENT) public float determinantAndAdjugate()
      Mappings:
      Namespace Name Mixin selector
      official e La;e()F
      intermediary method_23731 Lnet/minecraft/class_4581;method_23731()F
      named determinantAndAdjugate Lnet/minecraft/util/math/Matrix3f;determinantAndAdjugate()F
    • invert

      @Environment(CLIENT) public boolean invert()
      Mappings:
      Namespace Name Mixin selector
      official f La;f()Z
      intermediary method_23732 Lnet/minecraft/class_4581;method_23732()Z
      named invert Lnet/minecraft/util/math/Matrix3f;invert()Z
    • set

      public void set​(int x, int y, float value)
      Mappings:
      Namespace Name Mixin selector
      official a La;a(IIF)V
      intermediary method_26288 Lnet/minecraft/class_4581;method_26288(IIF)V
      named set Lnet/minecraft/util/math/Matrix3f;set(IIF)V
    • multiply

      public void multiply​(Matrix3f other)
      Mappings:
      Namespace Name Mixin selector
      official b La;b(La;)V
      intermediary method_22855 Lnet/minecraft/class_4581;method_22855(Lnet/minecraft/class_4581;)V
      named multiply Lnet/minecraft/util/math/Matrix3f;multiply(Lnet/minecraft/util/math/Matrix3f;)V
    • multiply

      @Environment(CLIENT) public void multiply​(Quaternion quaternion)
      Mappings:
      Namespace Name Mixin selector
      official a La;a(Ld;)V
      intermediary method_23274 Lnet/minecraft/class_4581;method_23274(Lnet/minecraft/class_1158;)V
      named multiply Lnet/minecraft/util/math/Matrix3f;multiply(Lnet/minecraft/util/math/Quaternion;)V
    • multiply

      @Environment(CLIENT) public void multiply​(float scalar)
      Mappings:
      Namespace Name Mixin selector
      official a La;a(F)V
      intermediary method_23729 Lnet/minecraft/class_4581;method_23729(F)V
      named multiply Lnet/minecraft/util/math/Matrix3f;multiply(F)V
    • copy

      @Environment(CLIENT) public Matrix3f copy()
      Mappings:
      Namespace Name Mixin selector
      official d La;d()La;
      intermediary method_23296 Lnet/minecraft/class_4581;method_23296()Lnet/minecraft/class_4581;
      named copy Lnet/minecraft/util/math/Matrix3f;copy()Lnet/minecraft/util/math/Matrix3f;