Contents

GLKVector3

A representation of a 3-component vector.

Declaration

typealias GLKVector3 = _GLKVector3

Fields

Name

Description

x

The first component in the vector. Typically used when the vector refers to a position or normal.

y

The second component in the vector. Typically used when the vector refers to a position or normal.

z

The third component in the vector. Typically used when the vector refers to a position or normal.

r

The first component in the vector. Typically used when the vector refers to a color value.

g

The second component in the vector. Typically used when the vector refers to a color value.

b

The third component in the vector. Typically used when the vector refers to a color value.

s

The first component in the vector. Typically used when the vector refers to texture coordinates.

t

The second component in the vector. Typically used when the vector refers to texture coordinates.

p

The third component in the vector. Typically used when the vector refers to texture coordinates.

v

The elements of the vector expressed as an array.