@eturnity/eturnity_3d 6.34.3-EPDM-8085.1 → 6.34.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -303,13 +303,12 @@ export default {
|
|
|
303
303
|
let sizeInMeter = groundResolution * size / 256
|
|
304
304
|
planeGeometry[indexGoogleBackground] = new THREE.PlaneGeometry(
|
|
305
305
|
sizeInMeter,
|
|
306
|
-
|
|
307
|
-
sizeInMeter
|
|
306
|
+
sizeInMeter * 0.9
|
|
308
307
|
)
|
|
308
|
+
|
|
309
309
|
//to remove attribution in bottom of the image
|
|
310
310
|
var uvs = new Float32Array([
|
|
311
|
-
|
|
312
|
-
0, 1, 1, 1, 0, 0, 1, 0, 0, 0, 1, 0
|
|
311
|
+
0, 0.95, 1, 0.95, 0, 0.05, 1, 0.05, 0, 0.05, 1, 0.95
|
|
313
312
|
])
|
|
314
313
|
planeGeometry[indexGoogleBackground].setAttribute(
|
|
315
314
|
'uv',
|
|
@@ -354,7 +353,6 @@ export default {
|
|
|
354
353
|
this.scene.add(this.backgroundMap)
|
|
355
354
|
},
|
|
356
355
|
async renderGoogleTilesCenter() {
|
|
357
|
-
|
|
358
356
|
this.clearByType('tileMeshes')
|
|
359
357
|
if (this.backgroundMap) {
|
|
360
358
|
this.backgroundMap.clear()
|