sohamkamani / three-object-loader

[DEPRECATED] NodeJS wrapper for Three.js' OBJLoader function
30 stars 31 forks source link

Replace old OBJLoader with new version #12

Closed justin-hackin closed 6 years ago

justin-hackin commented 7 years ago

From here https://github.com/mrdoob/three.js/blob/cf584a60bdfd24c42eaa81d484533364742bda44/examples/js/loaders/OBJLoader.js

Works as expected with latest npm package 'three' (R86)

coveralls commented 7 years ago

Coverage Status

Coverage increased (+7.3%) to 9.774% when pulling b83585e361b6dda98f729b512d3103eb1fbf41c9 on justin-hackin:master into d8fb810b953c27358058d961345538e48ef5b74b on sohamkamani:master.

justin-hackin commented 7 years ago

Still emits warning i.e.:

./~/babel-loader/lib!./~/vue-loader/lib/selector.js?type=script&index=0!./src/components/ShapeLoader.vue
12:20-35 "export 'OBJLoader' (imported as 'THREE') was not found in 'three'

but it seems to work just fine

coveralls commented 7 years ago

Coverage Status

Coverage increased (+7.3%) to 9.774% when pulling 3d6ee1687cae4558abbffced988f906dfcbb8b4c on justin-hackin:master into d8fb810b953c27358058d961345538e48ef5b74b on sohamkamani:master.