Skip to content

Instantly share code, notes, and snippets.

@matthieu-D
Created October 4, 2017 21:04
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save matthieu-D/6f229b16b17015c44439f89d129232dd to your computer and use it in GitHub Desktop.
Save matthieu-D/6f229b16b17015c44439f89d129232dd to your computer and use it in GitHub Desktop.
init() {
this.tracker = new AR.InstantTracker({ deviceHeight: 1.0 });
this.instantTrackable = new AR.InstantTrackable(this.tracker, {
drawables: {
cam: []
},
onTrackingPlaneClick: this.addModel
});
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment