Class Matrix4fMixin

java.lang.Object
io.github.vampirestudios.vampirelib.mixins.Matrix4fMixin
All Implemented Interfaces:
Matrix4fExtensions

public abstract class Matrix4fMixin extends Object implements Matrix4fExtensions
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected float
     
    protected float
     
    protected float
     
    protected float
     
    protected float
     
    protected float
     
    protected float
     
    protected float
     
    protected float
     
    protected float
     
    protected float
     
    protected float
     
    protected float
     
    protected float
     
    protected float
     
    protected float
     
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    fromFloatArray(float[] floats)
     
    abstract void
    load(com.mojang.math.Matrix4f other)
     
    void
    multiplyBackward(com.mojang.math.Matrix4f other)
     
    void
    setTranslation(float x, float y, float z)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • m00

      protected float m00
    • m01

      protected float m01
    • m02

      protected float m02
    • m03

      protected float m03
    • m10

      protected float m10
    • m11

      protected float m11
    • m12

      protected float m12
    • m13

      protected float m13
    • m20

      protected float m20
    • m21

      protected float m21
    • m22

      protected float m22
    • m23

      protected float m23
    • m30

      protected float m30
    • m31

      protected float m31
    • m32

      protected float m32
    • m33

      protected float m33
  • Constructor Details

    • Matrix4fMixin

      public Matrix4fMixin()
  • Method Details

    • load

      public abstract void load(com.mojang.math.Matrix4f other)
    • fromFloatArray

      @Contract(mutates="this") public void fromFloatArray(float[] floats)
      Specified by:
      fromFloatArray in interface Matrix4fExtensions
    • setTranslation

      public void setTranslation(float x, float y, float z)
      Specified by:
      setTranslation in interface Matrix4fExtensions
    • multiplyBackward

      public void multiplyBackward(com.mojang.math.Matrix4f other)
      Specified by:
      multiplyBackward in interface Matrix4fExtensions