Class Matrix3

java.lang.Object
icyllis.arc3d.core.Matrix3

public class Matrix3 extends Object
  • Field Summary Link icon

    Fields
    Modifier and Type
    Field
    Description
    float
     
    float
     
    float
     
    float
     
    float
     
    float
     
    float
     
    float
     
    float
     
  • Constructor Summary Link icon

    Constructors
    Constructor
    Description
     
  • Method Summary Link icon

    Modifier and Type
    Method
    Description
    static Matrix3
    Create a new identity matrix.
    void
    Reset this matrix to the identity.
    void
    store(long p)
    Get this matrix data, store them into an address (UNSAFE).
    void
    storeAligned(long p)
    Get this matrix data, store them into an address (UNSAFE).

    Methods inherited from class java.lang.Object Link icon

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

    • m11 Link icon

      public float m11
    • m12 Link icon

      public float m12
    • m13 Link icon

      public float m13
    • m21 Link icon

      public float m21
    • m22 Link icon

      public float m22
    • m23 Link icon

      public float m23
    • m31 Link icon

      public float m31
    • m32 Link icon

      public float m32
    • m33 Link icon

      public float m33
  • Constructor Details Link icon

    • Matrix3 Link icon

      public Matrix3()
  • Method Details Link icon

    • identity Link icon

      @Nonnull public static Matrix3 identity()
      Create a new identity matrix.
      Returns:
      an identity matrix
    • setIdentity Link icon

      public void setIdentity()
      Reset this matrix to the identity.
    • store Link icon

      public void store(long p)
      Get this matrix data, store them into an address (UNSAFE). NOTE: This method does not perform memory security checks.
      Parameters:
      p - the pointer of the array to store
    • storeAligned Link icon

      public void storeAligned(long p)
      Get this matrix data, store them into an address (UNSAFE). The data matches std140 layout so it is not tightly packed. NOTE: This method does not perform memory security checks.
      Parameters:
      p - the pointer of the array to store, must be aligned