1.0.6 • Published 5 years ago
three-legacyjsonloader v1.0.6
three-Legacy-JSON-Loader
A node package to parse THREE Js Json files on server side.
Install
npm install three-legacyjsonloader
USAGE
const THREE = require('three');
const LegacyJSONLoader = require('three-legacyjsonloader')
let loader = new LegacyJSONLoader(THREE);
loader.load('teapot.json').then(function (obj) {
console.log(obj)
}).catch(function (err) {
console.log(err)
})