|
@@ -9,3 +9,13 @@ THREE.AmbientLight = function ( hex ) {
|
|
|
};
|
|
|
|
|
|
THREE.AmbientLight.prototype = Object.create( THREE.Light.prototype );
|
|
|
+
|
|
|
+THREE.AmbientLight.prototype.clone = function () {
|
|
|
+
|
|
|
+ var light = new THREE.AmbientLight();
|
|
|
+
|
|
|
+ THREE.Light.prototype.clone.call( this, light );
|
|
|
+
|
|
|
+ return light;
|
|
|
+
|
|
|
+};
|