Skip to content

Instantly share code, notes, and snippets.

@matthieu-D
Last active September 30, 2017 22:31
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/ef8581aa2754c0f2745c73e2a26df585 to your computer and use it in GitHub Desktop.
Save matthieu-D/ef8581aa2754c0f2745c73e2a26df585 to your computer and use it in GitHub Desktop.
declare var AR;
class World {
init() {
const targetCollectionResource = new AR.TargetCollectionResource("assets/wto/pinguin-tracker.wto", { });
const objectTracker = new AR.ObjectTracker(targetCollectionResource, { });
...
}
};
let world = new World();
world.init();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment