updated for THREE.js r62