function animate()
{
	requestAnimationFrame(animate);
	water.material.uniforms["time"].value += 1.0 / 60.0;
	time = performance.now() * 0.001;
	update();
	renderer.render(scene, camera);
}
// animate updates the game every frame
animate updates the game every frame
animate updates the game every frame
function animate()
{
	requestAnimationFrame(animate);
	water.material.uniforms["time"].value += 1.0 / 60.0;
	time = performance.now() * 0.001;
	update();
	renderer.render(scene, camera);
}
function animate ( ) { requestAnimationFrame ( animate ) ; water . material . uniforms [ "time" ] . value += 1.0 / 60.0 ; time = performance . now ( ) * 0.001 ; update ( ) ; renderer . render ( scene , camera ) ; }
animate updates the game every frame
animate updates the game every frame