Contents

GLKQuaternionMakeWithVector3(_:_:)

Returns a quaternion created from a vector and a scalar.

Declaration

func GLKQuaternionMakeWithVector3(_ vector: GLKVector3, _ scalar: Float) -> GLKQuaternion

Parameters

  • vector:

    The vector portion of the new quaternion.

  • scalar:

    The scalar portion of the new quaternion.

Return Value

A new quaternion.

See Also

Creating Quaternions