Site
- add bar/goal selector on all gamemode in lobby page - fix three js warn on lobby page - fix history on profil page
This commit is contained in:
@ -6,7 +6,7 @@
|
||||
/* By: edbernar <edbernar@student.42angouleme. +#+ +:+ +#+ */
|
||||
/* +#+#+#+#+#+ +#+ */
|
||||
/* Created: 2024/08/22 17:19:17 by edbernar #+# #+# */
|
||||
/* Updated: 2024/09/30 14:01:36 by edbernar ### ########.fr */
|
||||
/* Updated: 2024/09/30 23:07:19 by edbernar ### ########.fr */
|
||||
/* */
|
||||
/* ************************************************************************** */
|
||||
|
||||
@ -430,8 +430,7 @@ function moveCamera()
|
||||
const distance = camera.position.distanceTo(screen.tv.position);
|
||||
|
||||
camera.position.copy(position);
|
||||
console.log(distance);
|
||||
if (position.equals(targetPosition) || distance < 0.15)
|
||||
if (position.equals(targetPosition) || distance < 1)
|
||||
{
|
||||
pageRenderer.changePage('lobbyPage');
|
||||
return ;
|
||||
|
Reference in New Issue
Block a user