fix visual bugs after three js update

This commit is contained in:
2025-12-06 11:27:33 +02:00
parent e5de8f75f8
commit c66fb58b9f
5 changed files with 13 additions and 13 deletions
@@ -13,13 +13,13 @@ const imgParams = {
width: params.wallSize*0.033,
height: params.wallSize*0.033,
value: 'arrow.webp',
path: '/static/meshes/quiz/', distance: params.wallSize*2
path: '/static/meshes/quiz/', distance: params.wallSize*3
}
const textParams = {
type: 'TextObject', maxWidth:0.44,
fontPath:'/static/fonts/Montserrat-Regular.ttf',
fontSize:0.025, distance: params.wallSize*2
fontSize:0.025, distance: params.wallSize*3
}
const defaults = {
@@ -112,7 +112,7 @@ class MazeQuizGame extends EventManager {
{
type: 'SceneSwitcher', switchScene: this.data.switchScene, switchType: this.data.switchType,
position:[0,.22,len + .52], scale: [0.33, 0.33, 0.33],
distance: params.wallSize*2
distance: params.wallSize*4
}
]
};