Skip to content

Commit

Permalink
fix: adding missing THREE import
Browse files Browse the repository at this point in the history
  • Loading branch information
bl4ko committed Mar 13, 2024
1 parent da2ab80 commit 4f675b4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/components/canvas/Stars.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
import { useState, useRef, Suspense } from "react";
import { Canvas, useFrame } from "@react-three/fiber";
import { Points, PointMaterial, Preload } from "@react-three/drei";
import THREE from "three";

const randomInSphere = (numPoints: number, radius: number) => {
const positions = new Float32Array(numPoints * 3);
Expand Down

0 comments on commit 4f675b4

Please sign in to comment.