Last change
on this file since 28897 was 28897, checked in by davidb, 10 years ago |
GUI front-end to server base plus web page content
|
File size:
360 bytes
|
Line | |
---|
1 | /**
|
---|
2 | * @author mrdoob / http://mrdoob.com/
|
---|
3 | */
|
---|
4 |
|
---|
5 | THREE.AmbientLight = function ( hex ) {
|
---|
6 |
|
---|
7 | THREE.Light.call( this, hex );
|
---|
8 |
|
---|
9 | };
|
---|
10 |
|
---|
11 | THREE.AmbientLight.prototype = Object.create( THREE.Light.prototype );
|
---|
12 |
|
---|
13 | THREE.AmbientLight.prototype.clone = function () {
|
---|
14 |
|
---|
15 | var light = new THREE.AmbientLight();
|
---|
16 |
|
---|
17 | THREE.Light.prototype.clone.call( this, light );
|
---|
18 |
|
---|
19 | return light;
|
---|
20 |
|
---|
21 | };
|
---|
Note:
See
TracBrowser
for help on using the repository browser.