Contents

SCNVector3ToGLKVector3(_:)

Returns a three-element GLKit vector structure corresponding to a SceneKit vector structure.

Declaration

func SCNVector3ToGLKVector3(_ vector: SCNVector3) -> GLKVector3

Parameters

  • vector:

    A three-element SceneKit vector structure.

Return Value

A three-element GLKit vector structure representing the same vector as the input parameter.

See Also

Converting Vector Types