Skip to content

Instantly share code, notes, and snippets.

@b-r-o
Created May 3, 2017 20:40
Show Gist options
  • Save b-r-o/786dc2f65c919841efa713068b2faabf to your computer and use it in GitHub Desktop.
Save b-r-o/786dc2f65c919841efa713068b2faabf to your computer and use it in GitHub Desktop.
Update the camera position and configure session
self.position = self.position == .front ? .back : .front
self.configureSession()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment