From 89b411863b452fdab9d2b4a0cfd0e9d79d991f72 Mon Sep 17 00:00:00 2001
From: Silas Bartha <silas@exvacuum.dev>
Date: Mon, 10 Feb 2025 16:50:19 -0500
Subject: Reading messages from DB + clicking to place new messages

---
 src/components/ground.jsx | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

(limited to 'src/components/ground.jsx')

diff --git a/src/components/ground.jsx b/src/components/ground.jsx
index 4042538..cc128de 100644
--- a/src/components/ground.jsx
+++ b/src/components/ground.jsx
@@ -1,16 +1,16 @@
 import { useRef } from 'react';
 import * as everforest from '../_everforest.module.scss'
 import { RigidBody } from '@react-three/rapier';
-import { DoubleSide } from 'three';
 import { useGLTF } from '@react-three/drei';
 
 export default function Ground() {
     const meshRef = useRef();
     const { nodes } = useGLTF('../assets/terrain.glb');
+    
     return (
         <RigidBody type='fixed' colliders="trimesh">
-            <mesh ref={meshRef} position={[0, 0, 0]} rotation={[-Math.PI / 2, 0, 0]} receiveShadow geometry={nodes.Plane.geometry}>
-                <meshStandardMaterial color={everforest.yellow} side={DoubleSide}/>
+            <mesh ref={meshRef} position={[0, 0, 0]} rotation={[-Math.PI / 2, 0, 0]} geometry={nodes.Plane.geometry} name='ground'>
+                <meshStandardMaterial color={everforest.yellow}/>
             </mesh>
         </RigidBody>
     );
-- 
cgit v1.2.3

