amera, 'zoom', 0.01, 1.5, 0.01 ).onChange( updateCamera );

		}

		makeXYZGUI( gui, light.position, 'position', updateCamera );
		makeXYZGUI( gui, light.target.position, 'target', updateCamera );

	}

	function resizeRendererToDisplaySize( renderer ) {

		const canvas = renderer.domElement;
		const width = canvas.clientWidth;
		const height = canvas.clientHeight;
		const needResize = canvas.width !== width || canvas.height !== height;
		if ( needResize ) {

			renderer.setSize( width, height, false );

		}
