aboutsummaryrefslogtreecommitdiff
path: root/src/components/ground.jsx
diff options
context:
space:
mode:
authorLibravatar Silas Bartha <silas@exvacuum.dev>2025-02-12 00:44:55 -0500
committerLibravatar Silas Bartha <silas@exvacuum.dev>2025-02-12 00:44:55 -0500
commitee22562c8e49fc42fdfc6d513c92a7c7f580c057 (patch)
treef0ee33773461675fec1632a48c941f4951c0941d /src/components/ground.jsx
parentd447b608f8998df5e044c40b45109ff6094ef173 (diff)
finally fixed stupid preload issue lol
Diffstat (limited to 'src/components/ground.jsx')
-rw-r--r--src/components/ground.jsx3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/components/ground.jsx b/src/components/ground.jsx
index 9aa736d..9aced45 100644
--- a/src/components/ground.jsx
+++ b/src/components/ground.jsx
@@ -2,8 +2,7 @@ import { useRef } from 'react';
import * as everforest from '../_everforest.module.scss'
import { RigidBody } from '@react-three/rapier';
import { useGLTF } from '@react-three/drei';
-
-const terrainModelURL = new URL('../assets/terrain.glb', import.meta.url).href
+import terrainModelURL from '../assets/terrain.glb';
export default function Ground() {
const meshRef = useRef();