nst canvas = renderer.domElement;
		const width = canvas.clientWidth;
		const height = canvas.clientHeight;
		if ( width === canvas.width && height === canvas.height ) {

			return false;

		}

		renderer.setSize( width, height, false );
		return true;

	}

	let then = 0;
	function render( now ) {

		now *= 0.001;
		const deltaTime = now - then;
		then = now;

		if ( resizeRendererToDisplaySize( renderer ) ) {

			const aspect = canvas.clientWidth / canvas.clientHeight;
			const fovX = THREE.MathUtils.radTo