1.0.1 • Published 8 years ago

three-objmtll-loader v1.0.1

Weekly downloads
4
License
ISC
Repository
github
Last release
8 years ago

three-objmtll-loader Build Status

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