From fb5a063276f18e3238b13577358e811aa5f9ee31 Mon Sep 17 00:00:00 2001
From: Silas Bartha <silas@exvacuum.dev>
Date: Tue, 11 Feb 2025 19:28:40 -0500
Subject: functionality implemented

---
 src/components/sun.jsx | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)

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

diff --git a/src/components/sun.jsx b/src/components/sun.jsx
index 455a065..fe0a79b 100644
--- a/src/components/sun.jsx
+++ b/src/components/sun.jsx
@@ -1,7 +1,6 @@
-import { Matrix4 } from 'three';
 import * as everforest from '../_everforest.module.scss'
 
-export default function Sun() {
+export default function Sun({ref}) {
     return (<>
         <directionalLight
             position={[1000, 1000, 1000]}
@@ -10,8 +9,8 @@ export default function Sun() {
             color={everforest.red}
         />
         <ambientLight intensity={Math.PI / 4} />
-        <mesh position={[1000,1000,1000]}>
-            <icosahedronGeometry args={[100,100]}/>
+        <mesh position={[1000,1000,1000]} ref={ref}>
+            <icosahedronGeometry args={[50,50]}/>
             <meshStandardMaterial color={everforest.red} emissive={everforest.red} emissiveIntensity={1} fog={false}/>
         </mesh>
     </>);
-- 
cgit v1.2.3

