three-objmtll-loader
v1.0.1
Published
NodeJS wrapper for Three.js' OBJMTLLLoader function
Downloads
39
Readme
three-objmtll-loader
NodeJS wrapper for Three.js' OBJMTLLLoader function
By default, Three.js does not have OBJMTLLLoader built in. This is a NodeJS wrapper for the OBJLoader library so that it can be used with npm in systems using browserify, webpack, etc. All credit for the original code goes to mrdoob and angelxuanchang.
Install
$ npm install --save three-objmtll-loader
Usage
var THREE = require('three');
var OBJMTLLoader = require('three-objmtll-loader');
OBJMTLLoader(THREE);
console.log(typeof THREE.OBJMTLLoader);
//=> 'function'
License
MIT © sohamkamani