

			}
			get max() {

				return this.obj[ this.maxProp ];

			}
			set max( v ) {

				this.obj[ this.maxProp ] = v;
				this.min = this.min; // this will call the min setter

			}

		}

		const gui = new GUI();
		gui.addColor( new ColorGUIHelper( light, 'color' ), 'value' ).name( 'color' );
		gui.add( light, 'intensity', 0, 10, 0.01 );
		{

			const folder = gui.addFolder( 'Shadow Camera' );
			folder.open();
			folder.add( new DimensionGUIHelper( light.shadow.camera, 'left', 'right' ), 'value', 1, 100 )