Edit Globe settings

This commit is contained in:
2022-09-26 13:10:30 +02:00
parent 193f6dc2ee
commit 0cc996e117
2 changed files with 4 additions and 3 deletions

View File

@@ -15,6 +15,7 @@
const isDev = import.meta.env.DEV
export let type: string = undefined
export let autoRotate: boolean = true
export let enableMarkers: boolean = true
export let enableMarkersLinks: boolean = true
export let speed: number = 0.1
@@ -48,7 +49,7 @@
mapFile: `/images/globe-map-${globeResolution}k.png`,
mapFileDark: `/images/globe-map-dark-${globeResolution}k.png`,
dpr: Math.min(Math.round(window.devicePixelRatio), 2),
autoRotate: true,
autoRotate,
speed,
sunAngle: 2,
rotationStart: randomContinent.rotation,