uptd : change location of map_backougnround & fix : remove old netshader into world tsx
🔍 Lint / 🪄 Check lint (pull_request) Has been cancelled
🔍 Lint / 🎨 Check format (pull_request) Has been cancelled
🔍 Lint / 🔎 Typecheck (pull_request) Has been cancelled
📊 Quality / 🔒 Security Audit (pull_request) Has been cancelled
📊 Quality / 📋 Dependency Freshness (pull_request) Has been cancelled
📊 Quality / 📦 Bundle Size (pull_request) Has been cancelled
🔍 Lint / 🏗 Build (pull_request) Has been cancelled

This commit is contained in:
math-pixel
2026-05-28 07:54:47 +02:00
parent 603e521714
commit a75c3fd896
5 changed files with 3 additions and 4 deletions
+1 -1
View File
@@ -243,7 +243,7 @@ export function Ebike({ position }: EbikeProps): React.JSX.Element {
height={0.8} height={0.8}
startPos={gpsStartPos} startPos={gpsStartPos}
destPos={destPos} destPos={destPos}
mapImageUrl="/map_background.png" mapImageUrl="/assets/gps/map_background.png"
worldBounds={{ worldBounds={{
minX: -166, minX: -166,
maxX: 163, maxX: 163,
+1 -1
View File
@@ -101,7 +101,7 @@ function CameraManager({
const dataUrl = gl.domElement.toDataURL("image/png"); const dataUrl = gl.domElement.toDataURL("image/png");
const a = document.createElement("a"); const a = document.createElement("a");
a.href = dataUrl; a.href = dataUrl;
a.download = "map_background.png"; a.download = "/assets/gps/map_background.png";
a.click(); a.click();
}; };
return () => { delete (window as any).downloadMapScreenshot; }; return () => { delete (window as any).downloadMapScreenshot; };
-1
View File
@@ -101,7 +101,6 @@ export function World({ onLoadingStateChange }: WorldProps): React.JSX.Element {
</> </>
) : ( ) : (
<TestMap onOctreeReady={handleOctreeReady} /> <TestMap onOctreeReady={handleOctreeReady} />
<NetTest />
)} )}
{sceneMode !== "game" && spawnPlayer ? ( {sceneMode !== "game" && spawnPlayer ? (
+1 -1
View File
@@ -259,7 +259,7 @@ export function TestMap({ onOctreeReady }: TestMapProps): React.JSX.Element {
height={4} height={4}
startPos={{ x: 10, y: 0, z: -10 }} startPos={{ x: 10, y: 0, z: -10 }}
destPos={{ x: -40, y: 0, z: 30 }} destPos={{ x: -40, y: 0, z: 30 }}
mapImageUrl="/map_background.png" mapImageUrl="/assets/gps/map_background.png"
worldBounds={{ worldBounds={{
"minX": -166, "minX": -166,
"maxX": 163, "maxX": 163,