Making a THREE.Cardboard class