从无法访问的项目Fork
体验新版 GitCode,发现更多精彩内容 >>
THREE.PointLight = function ( hex, intensity ) { THREE.Light.call( this, hex );
this.position = new THREE.Vector3();
this.intensity = intensity || 1; }; THREE.DirectionalLight.prototype = new THREE.Light(); THREE.DirectionalLight.prototype.constructor = THREE.PointLight;