Package org.robovm.apple.glkit
Class GLKMatrix3
- java.lang.Object
-
- org.robovm.rt.bro.NativeObject
-
- org.robovm.rt.bro.Struct<GLKMatrix3>
-
- org.robovm.apple.glkit.GLKMatrix3
-
- All Implemented Interfaces:
java.lang.Iterable<GLKMatrix3>
public class GLKMatrix3 extends org.robovm.rt.bro.Struct<GLKMatrix3>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
GLKMatrix3.GLKMatrix3Ptr
-
Constructor Summary
Constructors Constructor Description GLKMatrix3()
GLKMatrix3(java.nio.FloatBuffer m)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description GLKMatrix3
add(GLKMatrix3 matrixRight)
static GLKMatrix3
create(float m00, float m01, float m02, float m10, float m11, float m12, float m20, float m21, float m22)
static GLKMatrix3
create(java.nio.FloatBuffer values)
static GLKMatrix3
create(GLKQuaternion quaternion)
static GLKMatrix3
createAndTranspose(float m00, float m01, float m02, float m10, float m11, float m12, float m20, float m21, float m22)
static GLKMatrix3
createAndTranspose(java.nio.FloatBuffer values)
static GLKMatrix3
createRotation(float radians, float x, float y, float z)
static GLKMatrix3
createScale(float sx, float sy, float sz)
static GLKMatrix3
createWithColumns(GLKVector3 column0, GLKVector3 column1, GLKVector3 column2)
static GLKMatrix3
createWithRows(GLKVector3 row0, GLKVector3 row1, GLKVector3 row2)
static GLKMatrix3
createXRotation(float radians)
static GLKMatrix3
createYRotation(float radians)
static GLKMatrix3
createZRotation(float radians)
GLKVector3
getColumn(int column)
java.nio.FloatBuffer
getM()
GLKMatrix2
getMatrix2()
GLKVector3
getRow(int row)
static GLKMatrix3
Identity()
GLKMatrix3
invert(org.robovm.rt.bro.ptr.BooleanPtr isInvertible)
GLKMatrix3
invertAndTranspose(org.robovm.rt.bro.ptr.BooleanPtr isInvertible)
GLKMatrix3
multiply(GLKMatrix3 matrixRight)
GLKVector3
multiplyVector3(GLKVector3 vectorRight)
void
multiplyVector3Array(GLKVector3 vectors, long vectorCount)
GLKMatrix3
rotate(float radians, float x, float y, float z)
GLKMatrix3
rotate(float radians, GLKVector3 axisVector)
GLKMatrix3
rotate(float radians, GLKVector4 axisVector)
GLKMatrix3
rotateX(float radians)
GLKMatrix3
rotateY(float radians)
GLKMatrix3
rotateZ(float radians)
GLKMatrix3
scale(float sx, float sy, float sz)
GLKMatrix3
scale(GLKVector3 scaleVector)
GLKMatrix3
scale(GLKVector4 scaleVector)
GLKMatrix3
setColumn(int column, GLKVector3 vector)
GLKMatrix3
setM(java.nio.FloatBuffer m)
GLKMatrix3
setRow(int row, GLKVector3 vector)
GLKMatrix3
subtract(GLKMatrix3 matrixRight)
GLKMatrix3
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 GLKMatrix3 setM(java.nio.FloatBuffer m)
-
Identity
public static GLKMatrix3 Identity()
-
create
public static GLKMatrix3 create(float m00, float m01, float m02, float m10, float m11, float m12, float m20, float m21, float m22)
-
createAndTranspose
public static GLKMatrix3 createAndTranspose(float m00, float m01, float m02, float m10, float m11, float m12, float m20, float m21, float m22)
-
create
public static GLKMatrix3 create(java.nio.FloatBuffer values)
-
createAndTranspose
public static GLKMatrix3 createAndTranspose(java.nio.FloatBuffer values)
-
createWithRows
public static GLKMatrix3 createWithRows(GLKVector3 row0, GLKVector3 row1, GLKVector3 row2)
-
createWithColumns
public static GLKMatrix3 createWithColumns(GLKVector3 column0, GLKVector3 column1, GLKVector3 column2)
-
create
public static GLKMatrix3 create(GLKQuaternion quaternion)
-
createScale
public static GLKMatrix3 createScale(float sx, float sy, float sz)
-
createRotation
public static GLKMatrix3 createRotation(float radians, float x, float y, float z)
-
createXRotation
public static GLKMatrix3 createXRotation(float radians)
-
createYRotation
public static GLKMatrix3 createYRotation(float radians)
-
createZRotation
public static GLKMatrix3 createZRotation(float radians)
-
getMatrix2
public GLKMatrix2 getMatrix2()
-
getRow
public GLKVector3 getRow(int row)
-
getColumn
public GLKVector3 getColumn(int column)
-
setRow
public GLKMatrix3 setRow(int row, GLKVector3 vector)
-
setColumn
public GLKMatrix3 setColumn(int column, GLKVector3 vector)
-
transpose
public GLKMatrix3 transpose()
-
invert
public GLKMatrix3 invert(org.robovm.rt.bro.ptr.BooleanPtr isInvertible)
-
invertAndTranspose
public GLKMatrix3 invertAndTranspose(org.robovm.rt.bro.ptr.BooleanPtr isInvertible)
-
multiply
public GLKMatrix3 multiply(GLKMatrix3 matrixRight)
-
add
public GLKMatrix3 add(GLKMatrix3 matrixRight)
-
subtract
public GLKMatrix3 subtract(GLKMatrix3 matrixRight)
-
scale
public GLKMatrix3 scale(float sx, float sy, float sz)
-
scale
public GLKMatrix3 scale(GLKVector3 scaleVector)
-
scale
public GLKMatrix3 scale(GLKVector4 scaleVector)
-
rotate
public GLKMatrix3 rotate(float radians, float x, float y, float z)
-
rotate
public GLKMatrix3 rotate(float radians, GLKVector3 axisVector)
-
rotate
public GLKMatrix3 rotate(float radians, GLKVector4 axisVector)
-
rotateX
public GLKMatrix3 rotateX(float radians)
-
rotateY
public GLKMatrix3 rotateY(float radians)
-
rotateZ
public GLKMatrix3 rotateZ(float radians)
-
multiplyVector3
public GLKVector3 multiplyVector3(GLKVector3 vectorRight)
-
multiplyVector3Array
public void multiplyVector3Array(GLKVector3 vectors, long vectorCount)
-
-