Game - Push

This commit is contained in:
hubourge
2024-08-30 16:51:28 +02:00
parent 820715f920
commit 69272ae91c
3 changed files with 57 additions and 15 deletions

View File

@ -3,10 +3,10 @@
/* ::: :::::::: */
/* SoloGame.js :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: edbernar <edbernar@student.42angouleme. +#+ +:+ +#+ */
/* By: hubourge <hubourge@student.42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2024/08/28 12:07:39 by edbernar #+# #+# */
/* Updated: 2024/08/29 13:58:06 by edbernar ### ########.fr */
/* Updated: 2024/08/30 15:52:41 by hubourge ### ########.fr */
/* */
/* ************************************************************************** */
@ -42,7 +42,7 @@ class SoloGame
Players.create(scene);
controls = new OrbitControls(camera, renderer.domElement);
camera.position.set(0, 20, 0);
camera.position.set(0, 30, 0);
// camera.position.set(20, 5, 20);
renderer.setAnimationLoop(loop);
}
@ -82,4 +82,4 @@ function loop()
stats.end();
}
export { SoloGame };
export { SoloGame };