THREE.js class