google-ar / three.ar.js

A helper three.js library for building AR web experiences that run in WebARonARKit and WebARonARCore
https://developers.google.com/ar/develop/web/getting-started
Apache License 2.0
2.91k stars 367 forks source link

Support modular-usage of `loadPolyBlocks` #77

Closed jsantell closed 6 years ago

jsantell commented 6 years ago

Right now, this function relies on global THREE.OBJLoader and THREE.MTLLoader. We should support passing in an OBJLoader/MTLLoader so that we're not holding to a global dependency and that it can continue to work in ES6 environments