Przeglądaj źródła

Update README.md

Garrett Johnson 4 lat temu
rodzic
commit
45ed9ff4ac
1 zmienionych plików z 1 dodań i 0 usunięć
  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 );