Package org.robovm.apple.glkit
Class GLKQuaternion
- All Implemented Interfaces:
Iterable<GLKQuaternion>
public class GLKQuaternion extends Struct<GLKQuaternion>
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classGLKQuaternion.GLKQuaternionPtr -
Constructor Summary
Constructors Constructor Description GLKQuaternion()GLKQuaternion(FloatBuffer q) -
Method Summary
Modifier and Type Method Description GLKQuaternionadd(GLKQuaternion quaternionRight)static GLKQuaternionadd(GLKQuaternion quaternionLeft, GLKQuaternion quaternionRight)ported from GLKQuaternionAddfloatangle()GLKVector3axis()GLKQuaternionconjugate()ported from GLKQuaternionConjugatestatic GLKQuaternioncreate(float[] values)ported from GLKQuaternionMakeWithArraystatic GLKQuaternioncreate(float x, float y, float z, float w)ported from GLKQuaternionMakestatic GLKQuaternioncreate(GLKMatrix3 matrix)static GLKQuaternioncreate(GLKMatrix4 matrix)static GLKQuaternioncreate(GLKVector3 vector, float scalar)ported from GLKQuaternionMakeWithVector3static GLKQuaternioncreateRotation(float radians, float x, float y, float z)ported from GLKQuaternionMakeWithAngleAndAxisstatic GLKQuaternioncreateRotation(float radians, GLKVector3 axisVector)ported from GLKQuaternionMakeWithAngleAndVector3AxisFloatBuffergetQ()static GLKQuaternionIdentity()GLKQuaternioninvert()ported from GLKQuaternionInvertfloatlength()ported from GLKQuaternionLengthGLKQuaternionmultiply(GLKQuaternion quaternionRight)static GLKQuaternionmultiply(GLKQuaternion quaternionLeft, GLKQuaternion quaternionRight)ported from GLKQuaternionMultiplyGLKQuaternionnormalize()ported from GLKQuaternionNormalizeGLKVector3rotateVector3(GLKVector3 vector)ported from GLKQuaternionRotateVector3voidrotateVector3Array(GLKVector3 vectors, long vectorCount)GLKVector4rotateVector4(GLKVector4 vector)ported from GLKQuaternionRotateVector4voidrotateVector4Array(GLKVector4 vectors, long vectorCount)GLKQuaternionsetQ(FloatBuffer q)GLKQuaternionslerp(GLKQuaternion quaternionEnd, float t)GLKQuaternionsubtract(GLKQuaternion quaternionRight)static GLKQuaternionsubtract(GLKQuaternion quaternionLeft, GLKQuaternion quaternionRight)ported from GLKQuaternionSubtractMethods 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
-
Constructor Details
-
GLKQuaternion
public GLKQuaternion() -
GLKQuaternion
-
-
Method Details
-
getQ
-
setQ
-
Identity
-
create
-
create
-
angle
public float angle() -
axis
-
slerp
-
rotateVector3Array
-
rotateVector4Array
-
create
ported from GLKQuaternionMake -
create
ported from GLKQuaternionMakeWithVector3 -
create
ported from GLKQuaternionMakeWithArray -
createRotation
ported from GLKQuaternionMakeWithAngleAndAxis -
createRotation
ported from GLKQuaternionMakeWithAngleAndVector3Axis -
add
-
add
ported from GLKQuaternionAdd -
subtract
-
subtract
ported from GLKQuaternionSubtract -
multiply
-
multiply
ported from GLKQuaternionMultiply -
length
public float length()ported from GLKQuaternionLength -
conjugate
ported from GLKQuaternionConjugate -
invert
ported from GLKQuaternionInvert -
normalize
ported from GLKQuaternionNormalize -
rotateVector3
ported from GLKQuaternionRotateVector3 -
rotateVector4
ported from GLKQuaternionRotateVector4
-