commit bd54b8bc848d625b7c99429d4e87cd25542a2c46
parent 4ef94ec253a18472979527a4d14c922c73cf9650
Author: Martin Kloeckner <mjkloeckner@gmail.com>
Date: Thu, 4 Jul 2024 18:22:48 -0300
call function `setupFirstPersonControls`
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tp/src/scene.js b/tp/src/scene.js
@@ -560,7 +560,6 @@ function mainLoop() {
break;
}
-
requestAnimationFrame(mainLoop);
renderer.render(scene, currCamera);
@@ -636,6 +635,7 @@ function mainLoop() {
function main() {
setupThreeJs();
+ setupFirstPersonControls();
time = 0.00;
buildScene();
createMenu();