Created
March 14, 2018 23:19
-
-
Save nmathew87/02444def007faad82598071aad3480c6 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
override func viewDidLoad() { | |
super.viewDidLoad() | |
// configuration | |
LibPlacenote.instance.multiDelegate += self | |
// set up AR session | |
self.sceneView.session.run(configuration) | |
self.sceneView.autoenablesDefaultLighting = true | |
self.sceneView.debugOptions = [ARSCNDebugOptions.showFeaturePoints] | |
sceneView.session.delegate = self | |
ptViz = FeaturePointVisualizer(inputScene: sceneView.scene); | |
ptViz?.enableFeaturePoints() | |
if let camera: SCNNode = sceneView?.pointOfView { | |
camManager = CameraManager(scene: sceneView.scene, cam: camera) | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment