source: other-projects/playing-in-the-street/summer-2013/trunk/Playing-in-the-Street-WPF/Content/Web/mrdoob-three.js-4862f5f/src/scenes/FogExp2.js@ 28897

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: 380 bytes
Line 
1/**
2 * @author mrdoob / http://mrdoob.com/
3 * @author alteredq / http://alteredqualia.com/
4 */
5
6THREE.FogExp2 = function ( hex, density ) {
7
8 this.name = '';
9
10 this.color = new THREE.Color( hex );
11 this.density = ( density !== undefined ) ? density : 0.00025;
12
13};
14
15THREE.FogExp2.prototype.clone = function () {
16
17 return new THREE.FogExp2( this.color.getHex(), this.density );
18
19};
Note: See TracBrowser for help on using the repository browser.