Merge e_bike + gps into develop #7

Merged
math-pixel merged 23 commits from feat/gps into develop 2026-05-28 05:55:19 +00:00
5 changed files with 3 additions and 4 deletions
Showing only changes of commit a75c3fd896 - Show all commits
+1 -1
View File
@@ -243,7 +243,7 @@ export function Ebike({ position }: EbikeProps): React.JSX.Element {
height={0.8}
startPos={gpsStartPos}
destPos={destPos}
mapImageUrl="/map_background.png"
mapImageUrl="/assets/gps/map_background.png"
worldBounds={{
minX: -166,
maxX: 163,
+1 -1
View File
@@ -101,7 +101,7 @@ function CameraManager({
const dataUrl = gl.domElement.toDataURL("image/png");
const a = document.createElement("a");
a.href = dataUrl;
a.download = "map_background.png";
a.download = "/assets/gps/map_background.png";
a.click();
};
return () => { delete (window as any).downloadMapScreenshot; };
-1
View File
@@ -101,7 +101,6 @@ export function World({ onLoadingStateChange }: WorldProps): React.JSX.Element {
</>
) : (
<TestMap onOctreeReady={handleOctreeReady} />
<NetTest />
)}
{sceneMode !== "game" && spawnPlayer ? (
+1 -1
View File
@@ -259,7 +259,7 @@ export function TestMap({ onOctreeReady }: TestMapProps): React.JSX.Element {
height={4}
startPos={{ x: 10, y: 0, z: -10 }}
destPos={{ x: -40, y: 0, z: 30 }}
mapImageUrl="/map_background.png"
mapImageUrl="/assets/gps/map_background.png"
worldBounds={{
"minX": -166,
"maxX": 163,