window.innerWidth / window.innerHeight;
			camera.updateProjectionMatrix();

			renderer.setSize( window.innerWidth, window.innerHeight );

		}

		function animate() {

			requestAnimationFrame( animate );

			time.update();

			const delta = time.getDelta();
			const elapsed = time.getElapsed();

			target.position.set( Math.sin( elapsed * 0.3 ) * 5, 0, 4 );

			entityManager.update( delta );

			renderer.render( scene, camera );

		}

		function sync( entity, renderComponent ) {

			renderComponent.matrix