Class GLKMatrix4

All Implemented Interfaces:
Iterable<GLKMatrix4>

public class GLKMatrix4
extends Struct<GLKMatrix4>
  • Constructor Details

    • GLKMatrix4

      public GLKMatrix4()
    • GLKMatrix4

      public GLKMatrix4​(FloatBuffer m)
  • Method Details

    • getM

      public FloatBuffer getM()
    • setM

      public GLKMatrix4 setM​(FloatBuffer m)
    • Identity

      public static GLKMatrix4 Identity()
    • invert

      public GLKMatrix4 invert​(BooleanPtr isInvertible)
    • invertAndTranspose

      public GLKMatrix4 invertAndTranspose​(BooleanPtr isInvertible)
    • create

      public static GLKMatrix4 create​(float m00, float m01, float m02, float m03, float m10, float m11, float m12, float m13, float m20, float m21, float m22, float m23, float m30, float m31, float m32, float m33)
      ported from GLKMatrix4Make
    • createAndTranspose

      public static GLKMatrix4 createAndTranspose​(float m00, float m01, float m02, float m03, float m10, float m11, float m12, float m13, float m20, float m21, float m22, float m23, float m30, float m31, float m32, float m33)
      ported from GLKMatrix4MakeAndTranspose
    • create

      public static GLKMatrix4 create​(float[] values)
      ported from GLKMatrix4MakeWithArray
    • createAndTranspose

      public static GLKMatrix4 createAndTranspose​(float[] values)
      ported from GLKMatrix4MakeWithArrayAndTranspose
    • createWithRows

      public static GLKMatrix4 createWithRows​(GLKVector4 row0, GLKVector4 row1, GLKVector4 row2, GLKVector4 row3)
      ported from GLKMatrix4MakeWithRows
    • createWithColumns

      public static GLKMatrix4 createWithColumns​(GLKVector4 column0, GLKVector4 column1, GLKVector4 column2, GLKVector4 column3)
      ported from GLKMatrix4MakeWithColumns
    • create

      public static GLKMatrix4 create​(GLKQuaternion quaternion)
      ported from GLKMatrix4MakeWithQuaternion
    • createTranslation

      public static GLKMatrix4 createTranslation​(float tx, float ty, float tz)
      ported from GLKMatrix4MakeTranslation
    • createScale

      public static GLKMatrix4 createScale​(float sx, float sy, float sz)
      ported from GLKMatrix4MakeScale
    • createRotation

      public static GLKMatrix4 createRotation​(float radians, float x, float y, float z)
      ported from GLKMatrix4MakeRotation
    • createXRotation

      public static GLKMatrix4 createXRotation​(float radians)
      ported from GLKMatrix4MakeXRotation
    • createYRotation

      public static GLKMatrix4 createYRotation​(float radians)
      ported from GLKMatrix4MakeYRotation
    • createZRotation

      public static GLKMatrix4 createZRotation​(float radians)
      ported from GLKMatrix4MakeZRotation
    • createPerspective

      public static GLKMatrix4 createPerspective​(float fovyRadians, float aspect, float nearZ, float farZ)
      ported from GLKMatrix4MakePerspective
    • createFrustum

      public static GLKMatrix4 createFrustum​(float left, float right, float bottom, float top, float nearZ, float farZ)
      ported from GLKMatrix4MakeFrustum
    • createOrtho

      public static GLKMatrix4 createOrtho​(float left, float right, float bottom, float top, float nearZ, float farZ)
      ported from GLKMatrix4MakeOrtho
    • createLookAt

      public static GLKMatrix4 createLookAt​(float eyeX, float eyeY, float eyeZ, float centerX, float centerY, float centerZ, float upX, float upY, float upZ)
      ported from GLKMatrix4MakeLookAt
    • getMatrix3

      public GLKMatrix3 getMatrix3()
      ported from GLKMatrix4GetMatrix3
    • getMatrix2

      public GLKMatrix2 getMatrix2()
      ported from GLKMatrix4GetMatrix2
    • getRow

      public GLKVector4 getRow​(int row)
      ported from GLKMatrix4GetRow
    • getColumn

      public GLKVector4 getColumn​(int column)
      ported from GLKMatrix4GetColumn
    • setRow

      public GLKMatrix4 setRow​(int row, GLKVector4 vector)
      ported from GLKMatrix4SetRow
    • setColumn

      public GLKMatrix4 setColumn​(int column, GLKVector4 vector)
      ported from GLKMatrix4SetColumn
    • transpose

      public GLKMatrix4 transpose()
      ported from GLKMatrix4Transpose
    • multiply

      public GLKMatrix4 multiply​(GLKMatrix4 matrixRight)
    • multiply

      public static GLKMatrix4 multiply​(GLKMatrix4 matrixLeft, GLKMatrix4 matrixRight)
      ported from GLKMatrix4Multiply
    • add

      public GLKMatrix4 add​(GLKMatrix4 matrixRight)
    • add

      public static GLKMatrix4 add​(GLKMatrix4 matrixLeft, GLKMatrix4 matrixRight)
      ported from GLKMatrix4Add
    • subtract

      public GLKMatrix4 subtract​(GLKMatrix4 matrixRight)
    • subtract

      public static GLKMatrix4 subtract​(GLKMatrix4 matrixLeft, GLKMatrix4 matrixRight)
      ported from GLKMatrix4Subtract
    • translate

      public GLKMatrix4 translate​(float tx, float ty, float tz)
      ported from GLKMatrix4Translate
    • translateWithVector3

      public GLKMatrix4 translateWithVector3​(GLKVector3 translationVector)
      ported from GLKMatrix4TranslateWithVector3
    • translateWithVector4

      public GLKMatrix4 translateWithVector4​(GLKVector4 translationVector)
      ported from GLKMatrix4TranslateWithVector4
    • scale

      public GLKMatrix4 scale​(float sx, float sy, float sz)
      ported from GLKMatrix4Scale
    • scaleWithVector3

      public GLKMatrix4 scaleWithVector3​(GLKVector3 scaleVector)
      ported from GLKMatrix4ScaleWithVector3
    • scaleWithVector4

      public GLKMatrix4 scaleWithVector4​(GLKVector4 scaleVector)
      ported from GLKMatrix4ScaleWithVector4
    • rotate

      public GLKMatrix4 rotate​(float radians, float x, float y, float z)
      ported from GLKMatrix4Rotate
    • rotateWithVector3

      public GLKMatrix4 rotateWithVector3​(float radians, GLKVector3 axisVector)
      ported from GLKMatrix4RotateWithVector3
    • rotateWithVector4

      public GLKMatrix4 rotateWithVector4​(float radians, GLKVector4 axisVector)
      ported from GLKMatrix4RotateWithVector4
    • rotateX

      public GLKMatrix4 rotateX​(float radians)
      ported from GLKMatrix4RotateX
    • rotateY

      public GLKMatrix4 rotateY​(float radians)
      ported from GLKMatrix4RotateY
    • rotateZ

      public GLKMatrix4 rotateZ​(float radians)
      ported from GLKMatrix4RotateZ
    • multiplyVector3

      public GLKVector3 multiplyVector3​(GLKVector3 vectorRight)
      ported from GLKMatrix4MultiplyVector3
    • multiplyVector3WithTranslation

      public GLKVector3 multiplyVector3WithTranslation​(GLKVector3 vectorRight)
      ported from GLKMatrix4MultiplyVector3WithTranslation
    • multiplyAndProjectVector3

      public GLKVector3 multiplyAndProjectVector3​(GLKVector3 vectorRight)
      ported from GLKMatrix4MultiplyAndProjectVector3
    • multiplyVector3Array

      public void multiplyVector3Array​(GLKVector3 vectors, long vectorCount)
      ported from GLKMatrix4MultiplyVector3Array
    • multiplyVector3ArrayWithTranslation

      public void multiplyVector3ArrayWithTranslation​(GLKVector3 vectors, long vectorCount)
      ported from GLKMatrix4MultiplyVector3ArrayWithTranslation
    • multiplyAndProjectVector3Array

      public void multiplyAndProjectVector3Array​(GLKVector3 vectors, long vectorCount)
      ported from GLKMatrix4MultiplyAndProjectVector3Array
    • multiplyVector4

      public GLKVector4 multiplyVector4​(GLKVector4 vectorRight)
      ported from GLKMatrix4MultiplyVector4
    • multiplyVector4Array

      public void multiplyVector4Array​(GLKVector4 vectors, long vectorCount)
      ported from GLKMatrix4MultiplyVector4Array