Package org.robovm.apple.glkit
Class GLKMatrix4
- java.lang.Object
-
- org.robovm.rt.bro.NativeObject
-
- org.robovm.rt.bro.Struct<GLKMatrix4>
-
- org.robovm.apple.glkit.GLKMatrix4
-
- All Implemented Interfaces:
java.lang.Iterable<GLKMatrix4>
public class GLKMatrix4 extends org.robovm.rt.bro.Struct<GLKMatrix4>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
GLKMatrix4.GLKMatrix4Ptr
-
Constructor Summary
Constructors Constructor Description GLKMatrix4()
GLKMatrix4(java.nio.FloatBuffer m)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description GLKMatrix4
add(GLKMatrix4 matrixRight)
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)
static GLKMatrix4
create(java.nio.FloatBuffer values)
static GLKMatrix4
create(GLKQuaternion quaternion)
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)
static GLKMatrix4
createAndTranspose(java.nio.FloatBuffer values)
static GLKMatrix4
createFrustum(float left, float right, float bottom, float top, float nearZ, float farZ)
static GLKMatrix4
createLookAt(float eyeX, float eyeY, float eyeZ, float centerX, float centerY, float centerZ, float upX, float upY, float upZ)
static GLKMatrix4
createOrtho(float left, float right, float bottom, float top, float nearZ, float farZ)
static GLKMatrix4
createPerspective(float fovyRadians, float aspect, float nearZ, float farZ)
static GLKMatrix4
createRotation(float radians, float x, float y, float z)
static GLKMatrix4
createScale(float sx, float sy, float sz)
static GLKMatrix4
createTranslation(float tx, float ty, float tz)
static GLKMatrix4
createWithColumns(GLKVector4 column0, GLKVector4 column1, GLKVector4 column2, GLKVector4 column3)
static GLKMatrix4
createWithRows(GLKVector4 row0, GLKVector4 row1, GLKVector4 row2, GLKVector4 row3)
static GLKMatrix4
createXRotation(float radians)
static GLKMatrix4
createYRotation(float radians)
static GLKMatrix4
createZRotation(float radians)
GLKVector4
getColumn(int column)
java.nio.FloatBuffer
getM()
GLKMatrix2
getMatrix2()
GLKMatrix3
getMatrix3()
GLKVector4
getRow(int row)
static GLKMatrix4
Identity()
GLKMatrix4
invert(org.robovm.rt.bro.ptr.BooleanPtr isInvertible)
GLKMatrix4
invertAndTranspose(org.robovm.rt.bro.ptr.BooleanPtr isInvertible)
GLKMatrix4
multiply(GLKMatrix4 matrixRight)
GLKVector3
multiplyAndProjectVector3(GLKVector3 vectorRight)
void
multiplyAndProjectVector3Array(GLKVector3 vectors, long vectorCount)
GLKVector3
multiplyVector3(GLKVector3 vectorRight)
void
multiplyVector3Array(GLKVector3 vectors, long vectorCount)
void
multiplyVector3ArrayWithTranslation(GLKVector3 vectors, long vectorCount)
GLKVector3
multiplyVector3WithTranslation(GLKVector3 vectorRight)
GLKVector4
multiplyVector4(GLKVector4 vectorRight)
void
multiplyVector4Array(GLKVector4 vectors, long vectorCount)
GLKMatrix4
rotate(float radians, float x, float y, float z)
GLKMatrix4
rotateWithVector3(float radians, GLKVector3 axisVector)
GLKMatrix4
rotateWithVector4(float radians, GLKVector4 axisVector)
GLKMatrix4
rotateX(float radians)
GLKMatrix4
rotateY(float radians)
GLKMatrix4
rotateZ(float radians)
GLKMatrix4
scale(float sx, float sy, float sz)
GLKMatrix4
scaleWithVector3(GLKVector3 scaleVector)
GLKMatrix4
scaleWithVector4(GLKVector4 scaleVector)
GLKMatrix4
setColumn(int column, GLKVector4 vector)
GLKMatrix4
setM(java.nio.FloatBuffer m)
GLKMatrix4
setRow(int row, GLKVector4 vector)
GLKMatrix4
subtract(GLKMatrix4 matrixRight)
GLKMatrix4
translate(float tx, float ty, float tz)
GLKMatrix4
translateWithVector3(GLKVector3 translationVector)
GLKMatrix4
translateWithVector4(GLKVector4 translationVector)
GLKMatrix4
transpose()
-
Methods inherited from class org.robovm.rt.bro.Struct
_sizeOf, allocate, allocate, as, clear, clear, copy, copy, copyWithMalloc, copyWithMalloc, free, iterator, iterator, malloc, malloc, next, next, offsetOf, previous, previous, sizeOf, sizeOf, toArray, toList, toStruct, update, update, update, wrap
-
-
-
-
Method Detail
-
getM
public java.nio.FloatBuffer getM()
-
setM
public GLKMatrix4 setM(java.nio.FloatBuffer m)
-
Identity
public static GLKMatrix4 Identity()
-
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)
-
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)
-
create
public static GLKMatrix4 create(java.nio.FloatBuffer values)
-
createAndTranspose
public static GLKMatrix4 createAndTranspose(java.nio.FloatBuffer values)
-
createWithRows
public static GLKMatrix4 createWithRows(GLKVector4 row0, GLKVector4 row1, GLKVector4 row2, GLKVector4 row3)
-
createWithColumns
public static GLKMatrix4 createWithColumns(GLKVector4 column0, GLKVector4 column1, GLKVector4 column2, GLKVector4 column3)
-
create
public static GLKMatrix4 create(GLKQuaternion quaternion)
-
createTranslation
public static GLKMatrix4 createTranslation(float tx, float ty, float tz)
-
createScale
public static GLKMatrix4 createScale(float sx, float sy, float sz)
-
createRotation
public static GLKMatrix4 createRotation(float radians, float x, float y, float z)
-
createXRotation
public static GLKMatrix4 createXRotation(float radians)
-
createYRotation
public static GLKMatrix4 createYRotation(float radians)
-
createZRotation
public static GLKMatrix4 createZRotation(float radians)
-
createPerspective
public static GLKMatrix4 createPerspective(float fovyRadians, float aspect, float nearZ, float farZ)
-
createFrustum
public static GLKMatrix4 createFrustum(float left, float right, float bottom, float top, float nearZ, float farZ)
-
createOrtho
public static GLKMatrix4 createOrtho(float left, float right, float bottom, float top, float nearZ, float farZ)
-
createLookAt
public static GLKMatrix4 createLookAt(float eyeX, float eyeY, float eyeZ, float centerX, float centerY, float centerZ, float upX, float upY, float upZ)
-
getMatrix3
public GLKMatrix3 getMatrix3()
-
getMatrix2
public GLKMatrix2 getMatrix2()
-
getRow
public GLKVector4 getRow(int row)
-
getColumn
public GLKVector4 getColumn(int column)
-
setRow
public GLKMatrix4 setRow(int row, GLKVector4 vector)
-
setColumn
public GLKMatrix4 setColumn(int column, GLKVector4 vector)
-
transpose
public GLKMatrix4 transpose()
-
invert
public GLKMatrix4 invert(org.robovm.rt.bro.ptr.BooleanPtr isInvertible)
-
invertAndTranspose
public GLKMatrix4 invertAndTranspose(org.robovm.rt.bro.ptr.BooleanPtr isInvertible)
-
multiply
public GLKMatrix4 multiply(GLKMatrix4 matrixRight)
-
add
public GLKMatrix4 add(GLKMatrix4 matrixRight)
-
subtract
public GLKMatrix4 subtract(GLKMatrix4 matrixRight)
-
translate
public GLKMatrix4 translate(float tx, float ty, float tz)
-
translateWithVector3
public GLKMatrix4 translateWithVector3(GLKVector3 translationVector)
-
translateWithVector4
public GLKMatrix4 translateWithVector4(GLKVector4 translationVector)
-
scale
public GLKMatrix4 scale(float sx, float sy, float sz)
-
scaleWithVector3
public GLKMatrix4 scaleWithVector3(GLKVector3 scaleVector)
-
scaleWithVector4
public GLKMatrix4 scaleWithVector4(GLKVector4 scaleVector)
-
rotate
public GLKMatrix4 rotate(float radians, float x, float y, float z)
-
rotateWithVector3
public GLKMatrix4 rotateWithVector3(float radians, GLKVector3 axisVector)
-
rotateWithVector4
public GLKMatrix4 rotateWithVector4(float radians, GLKVector4 axisVector)
-
rotateX
public GLKMatrix4 rotateX(float radians)
-
rotateY
public GLKMatrix4 rotateY(float radians)
-
rotateZ
public GLKMatrix4 rotateZ(float radians)
-
multiplyVector3
public GLKVector3 multiplyVector3(GLKVector3 vectorRight)
-
multiplyVector3WithTranslation
public GLKVector3 multiplyVector3WithTranslation(GLKVector3 vectorRight)
-
multiplyAndProjectVector3
public GLKVector3 multiplyAndProjectVector3(GLKVector3 vectorRight)
-
multiplyVector3Array
public void multiplyVector3Array(GLKVector3 vectors, long vectorCount)
-
multiplyVector3ArrayWithTranslation
public void multiplyVector3ArrayWithTranslation(GLKVector3 vectors, long vectorCount)
-
multiplyAndProjectVector3Array
public void multiplyAndProjectVector3Array(GLKVector3 vectors, long vectorCount)
-
multiplyVector4
public GLKVector4 multiplyVector4(GLKVector4 vectorRight)
-
multiplyVector4Array
public void multiplyVector4Array(GLKVector4 vectors, long vectorCount)
-
-