(function (definition) { "use strict"; if (!THREE) { throw new Error("This module is dependent from 'three.js,add this file first."); } // CommonJS if (typeof exports === "object" && typeof module === "object") { module.exports = definition(THREE); // RequireJS } else if (typeof define === "function" && define.amd) { define(definition); //