Contents

GLKQuaternionMake(_:_:_:_:)

Returns a quaternion created from its separate components.

Declaration

func GLKQuaternionMake(_ x: Float, _ y: Float, _ z: Float, _ w: Float) -> GLKQuaternion

Parameters

  • x:

    The x component of the quaternion.

  • y:

    The y component of the quaternion.

  • z:

    The z component of the quaternion.

  • w:

    The w component of the quaternion.

Return Value

A new quaternion.

See Also

Creating Quaternions