Contents

SCNMatrix4ToGLKMatrix4(_:)

Returns a GLKit matrix corresponding to a SceneKit matrix.

Declaration

func SCNMatrix4ToGLKMatrix4(_ mat: SCNMatrix4) -> GLKMatrix4
func SCNMatrix4ToGLKMatrix4(_ mat: SCNMatrix4) -> GLKMatrix4

Parameters

  • mat:

    A SceneKit matrix.

Return Value

A GLKit matrix representing the same 3D transformation.

See Also

Converting Matrix Types