<!--
{
  "documentType" : "article",
  "framework" : "GLKit",
  "identifier" : "/documentation/GLKit/glkit-math-utilities",
  "metadataVersion" : "0.1.0",
  "role" : "collectionGroup",
  "title" : "GLKit Math Utilities"
}
-->

# GLKit Math Utilities

## Overview

Math routines without a specific type associated with them.

## Topics

### Converting Angles

[`GLKMathDegreesToRadians`](/documentation/GLKit/GLKMathDegreesToRadians(_:))

Converts an angle measured in degrees to radians.

[`GLKMathRadiansToDegrees`](/documentation/GLKit/GLKMathRadiansToDegrees(_:))

Converts an angle measured in radians to degrees.

### Projecting Vectors

[`GLKMathProject`](/documentation/GLKit/GLKMathProject(_:_:_:_:))

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

[`GLKMathUnproject`](/documentation/GLKit/GLKMathUnproject(_:_:_:_:_:))

Projects a point in view space into object space.

### Obtaining String Descriptions

[`NSStringFromGLKMatrix2`](/documentation/GLKit/NSStringFromGLKMatrix2(_:))

Returns a string that represents the contents of a matrix.

[`NSStringFromGLKMatrix3`](/documentation/GLKit/NSStringFromGLKMatrix3(_:))

Returns a string that represents the contents of a matrix.

[`NSStringFromGLKMatrix4`](/documentation/GLKit/NSStringFromGLKMatrix4(_:))

Returns a string that represents the contents of a matrix.

[`NSStringFromGLKVector2`](/documentation/GLKit/NSStringFromGLKVector2(_:))

Returns a string that represents the contents of a vector.

[`NSStringFromGLKVector3`](/documentation/GLKit/NSStringFromGLKVector3(_:))

Returns a string that represents the contents of a vector.

[`NSStringFromGLKVector4`](/documentation/GLKit/NSStringFromGLKVector4(_:))

Returns a string that represents the contents of a vector.

[`NSStringFromGLKQuaternion`](/documentation/GLKit/NSStringFromGLKQuaternion(_:))

Returns a string that represents the contents of a quaternion.



---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)