GLKVector3
Overview
The GLKVector3 type defines a 3-component floating-point vector as well as many mathematical operations commonly used to manipulate vectors. Graphics programming uses vectors extensively to represent positions, normals, colors and other data structures.
The functions that manipulate GLKVector3 structures treat the inputs as immutable, instead returning a new vector that represent the results of the operation.
Topics
Creating Vectors
Retrieving Information About a Vector
Mathematical Operations Performed on Vectors
GLKVector3Negate(_:)GLKVector3Normalize(_:)GLKVector3AddScalar(_:_:)GLKVector3SubtractScalar(_:_:)GLKVector3MultiplyScalar(_:_:)GLKVector3DivideScalar(_:_:)GLKVector3Add(_:_:)GLKVector3Subtract(_:_:)GLKVector3Multiply(_:_:)GLKVector3Divide(_:_:)GLKVector3DotProduct(_:_:)GLKVector3CrossProduct(_:_:)GLKVector3Lerp(_:_:_:)GLKVector3Project(_:_:)GLKVector3Maximum(_:_:)GLKVector3Minimum(_:_:)
Comparison Operations
GLKVector3AllEqualToScalar(_:_:)GLKVector3AllEqualToVector3(_:_:)GLKVector3AllGreaterThanOrEqualToScalar(_:_:)GLKVector3AllGreaterThanOrEqualToVector3(_:_:)GLKVector3AllGreaterThanScalar(_:_:)GLKVector3AllGreaterThanVector3(_:_:)