Skip to content

Commit

Permalink
Update Dust.tsx
Browse files Browse the repository at this point in the history
  • Loading branch information
JonnyBurger committed Jan 15, 2024
1 parent 8c19e55 commit 3f2ad8e
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/Dust.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,11 @@ import React from 'react';
import {InstancedMesh, PointLight} from 'three';
import * as THREE from 'three';


const count = 10000;

export const Dust: React.FC = () => {
const mesh = useRef<InstancedMesh>();
const light = useRef<PointLight>();
const mesh = useRef<InstancedMesh>(null);
const light = useRef<PointLight>(null);

const frame = useCurrentFrame();

Expand Down

0 comments on commit 3f2ad8e

Please sign in to comment.