Class Matrix4f

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

public final class Matrix4f
extends Object
  • Field Details

    • a00

      protected float a00
    • a01

      protected float a01
    • a02

      protected float a02
    • a03

      protected float a03
    • a10

      protected float a10
    • a11

      protected float a11
    • a12

      protected float a12
    • a13

      protected float a13
    • a20

      protected float a20
    • a21

      protected float a21
    • a22

      protected float a22
    • a23

      protected float a23
    • a30

      protected float a30
    • a31

      protected float a31
    • a32

      protected float a32
    • a33

      protected float a33
  • Constructor Details

    • Matrix4f

      public Matrix4f()
    • Matrix4f

      public Matrix4f​(Matrix4f source)
    • Matrix4f

      public Matrix4f​(Quaternion quaternion)
  • Method Details

    • equals

      public boolean equals​(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • pack

      @Environment(CLIENT) private static int pack​(int x, int y)
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • writeToBuffer

      @Environment(CLIENT) public void writeToBuffer​(FloatBuffer floatBuffer)
    • loadIdentity

      @Environment(CLIENT) public void loadIdentity()
    • determinantAndAdjugate

      @Environment(CLIENT) public float determinantAndAdjugate()
    • transpose

      @Environment(CLIENT) public void transpose()
    • invert

      @Environment(CLIENT) public boolean invert()
    • multiply

      @Environment(CLIENT) public void multiply​(Matrix4f matrix)
    • multiply

      @Environment(CLIENT) public void multiply​(Quaternion quaternion)
    • multiply

      @Environment(CLIENT) public void multiply​(float scalar)
    • viewboxMatrix

      @Environment(CLIENT) public static Matrix4f viewboxMatrix​(double fov, float aspectRatio, float cameraDepth, float viewDistance)
    • projectionMatrix

      @Environment(CLIENT) public static Matrix4f projectionMatrix​(float width, float height, float nearPlane, float farPlane)
    • addToLastColumn

      @Environment(CLIENT) public void addToLastColumn​(Vector3f vector)
    • copy

      @Environment(CLIENT) public Matrix4f copy()
    • scale

      @Environment(CLIENT) public static Matrix4f scale​(float x, float y, float z)
    • translate

      @Environment(CLIENT) public static Matrix4f translate​(float x, float y, float z)