mirror of
https://github.com/wahyd4/three.js.git
synced 2026-08-10 13:35:56 +10:00
16 lines
317 B
JavaScript
16 lines
317 B
JavaScript
/**
|
|
* @author mr.doob / http://mrdoob.com/
|
|
*/
|
|
|
|
THREE.PointLight = function ( hex, intensity ) {
|
|
|
|
THREE.Light.call( this, hex );
|
|
|
|
this.position = new THREE.Vector3();
|
|
this.intensity = intensity || 1;
|
|
|
|
};
|
|
|
|
THREE.PointLight.prototype = new THREE.Light();
|
|
THREE.PointLight.prototype.constructor = THREE.PointLight;
|