GLKit Math Utilities

Overview

This reference includes math routines without a specific type associated with them.

Topics

Converting Angles

GLKMathDegreesToRadians

Converts an angle measured in degrees to radians.

GLKMathRadiansToDegrees

Converts an angle measured in radians to degrees.

Projecting Vectors

GLKMathProject

Projects a point in object space into the window coordinate system.

GLKMathUnproject

Projects a point in view space into object space.

Obtaining String Descriptions

NSStringFromGLKMatrix2

Returns a string that represents the contents of a matrix.

NSStringFromGLKMatrix3

Returns a string that represents the contents of a matrix.

NSStringFromGLKMatrix4

Returns a string that represents the contents of a matrix.

NSStringFromGLKVector2

Returns a string that represents the contents of a vector.

NSStringFromGLKVector3

Returns a string that represents the contents of a vector.

NSStringFromGLKVector4

Returns a string that represents the contents of a vector.

NSStringFromGLKQuaternion

Returns a string that represents the contents of a quaternion.

See Also

Math Utilties

GLKMatrixStackRef

An opaque type that represents a stack of 4 x 4 matrices, providing support for hierarchical transform modeling and similar tasks.