Ver código fonte

Update README.md

Garrett Johnson 4 anos atrás
pai
commit
45ed9ff4ac
1 arquivos alterados com 1 adições e 0 exclusões
  1. 1 0
      README.md

+ 1 - 0
README.md

@@ -158,6 +158,7 @@ function renderLoop() {
 	if ( needsRerender ) {
 	
 		needsRerender = false;
+		camera.updateMatrixWorld();
 		tilesRenderer.update();
 		renderer.render( camera, scene );