@calvinscofield/three-objloader
v1.0.4
Published
Threejs objloader plugin, ES6.
Downloads
31
Readme
Usage
It is no longer maintained. Please follow [email protected]:calvinscofield/three-objloader.git npm i @calvinscofield/three-loaders -S
npm i @calvinscofield/three-objloader -S
import OBJLoader from '@calvinscofield/three-objloader'
let loader = new OBJLoader()
loader.load(
'model/penlin.obj',
(object) => {
},
(xhr) => {
console.log((xhr.loaded / xhr.total * 100) + '% loaded')
},
(error) => {
console.log(error, 'An error happened')
})