Light.js 301 B

123456789101112131415
  1. /**
  2. * @author mr.doob / http://mrdoob.com/
  3. * @author alteredq / http://alteredqualia.com/
  4. */
  5. THREE.Light = function ( hex ) {
  6. THREE.Object3D.call( this );
  7. this.color = new THREE.Color( hex );
  8. };
  9. THREE.Light.prototype = new THREE.Object3D();
  10. THREE.Light.prototype.constructor = THREE.Light;