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
Binary file not shown.
+9 -9
View File
@@ -455,13 +455,13 @@
"count":124, "count":124,
"max":[ "max":[
0.8999999761581421, 0.8999999761581421,
0.6101000308990479, 0.611650288105011,
1.2000000476837158 1.2000000476837158
], ],
"min":[ "min":[
-0.9016364812850952, -0.9031515121459961,
-3, -3,
-0.001091092824935913 -0.0026063472032546997
], ],
"type":"VEC3" "type":"VEC3"
}, },
@@ -541,7 +541,7 @@
"min":[ "min":[
-0.9099999070167542, -0.9099999070167542,
-3, -3,
-1.043081283569336e-07 -0.005000104196369648
], ],
"type":"VEC3" "type":"VEC3"
}, },
@@ -579,23 +579,23 @@
}, },
{ {
"buffer":0, "buffer":0,
"byteLength":948, "byteLength":962,
"byteOffset":524 "byteOffset":524
}, },
{ {
"buffer":0, "buffer":0,
"byteLength":166, "byteLength":166,
"byteOffset":1472 "byteOffset":1488
}, },
{ {
"buffer":0, "buffer":0,
"byteLength":166, "byteLength":166,
"byteOffset":1640 "byteOffset":1656
}, },
{ {
"buffer":0, "buffer":0,
"byteLength":661, "byteLength":661,
"byteOffset":1808 "byteOffset":1824
} }
], ],
"samplers":[ "samplers":[
@@ -606,7 +606,7 @@
], ],
"buffers":[ "buffers":[
{ {
"byteLength":2472, "byteLength":2488,
"uri":"quiz-fortress.bin" "uri":"quiz-fortress.bin"
} }
] ]
Binary file not shown.
+1 -1
View File
@@ -360,7 +360,7 @@
"count":24, "count":24,
"max":[ "max":[
0.8999999761581421, 0.8999999761581421,
0.45010000467300415, 0.4510999917984009,
1.2000000476837158 1.2000000476837158
], ],
"min":[ "min":[
@@ -13,13 +13,13 @@ const imgParams = {
width: params.wallSize*0.033, width: params.wallSize*0.033,
height: params.wallSize*0.033, height: params.wallSize*0.033,
value: 'arrow.webp', value: 'arrow.webp',
path: '/static/meshes/quiz/', distance: params.wallSize*2 path: '/static/meshes/quiz/', distance: params.wallSize*3
} }
const textParams = { const textParams = {
type: 'TextObject', maxWidth:0.44, type: 'TextObject', maxWidth:0.44,
fontPath:'/static/fonts/Montserrat-Regular.ttf', fontPath:'/static/fonts/Montserrat-Regular.ttf',
fontSize:0.025, distance: params.wallSize*2 fontSize:0.025, distance: params.wallSize*3
} }
const defaults = { const defaults = {
@@ -112,7 +112,7 @@ class MazeQuizGame extends EventManager {
{ {
type: 'SceneSwitcher', switchScene: this.data.switchScene, switchType: this.data.switchType, type: 'SceneSwitcher', switchScene: this.data.switchScene, switchType: this.data.switchType,
position:[0,.22,len + .52], scale: [0.33, 0.33, 0.33], position:[0,.22,len + .52], scale: [0.33, 0.33, 0.33],
distance: params.wallSize*2 distance: params.wallSize*4
} }
] ]
}; };