Light.js 356 B

12345678910111213141516
  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;
  11. THREE.Light.prototype.supr = THREE.Object3D.prototype;
粤ICP备19079148号