sohamkamani / three-object-loader

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

Use .flatShading instead of deprecated .shading #15

Closed danvk closed 6 years ago

danvk commented 7 years ago

I get deprecation warnings for every object I load without this.

See https://github.com/mrdoob/three.js/commit/ff4d488d790c988ac3f93295d56828535c4f20a8#diff-c95aa6af1ef517957bfbff6af39992f5L699

coveralls commented 7 years ago

Coverage Status

Coverage remained the same at 2.811% when pulling 3509fbca8f68f089af854b5b336dd20ad3afc8ed on danvk:flat-shading into 0508e276ed0d0c99b8d1a2517e6f013cdd3f96bc on sohamkamani:master.