feat/add-three.js #3
|
@ -2,7 +2,6 @@ import { Canvas, useFrame, useLoader } from '@react-three/fiber';
|
|||
import { Circle, Clone, ContactShadows, OrbitControls } from '@react-three/drei'
|
||||
import { Suspense, useRef } from 'react';
|
||||
import { GLTFLoader } from 'three/examples/jsm/loaders/GLTFLoader.js';
|
||||
import { AmbientLight } from 'three';
|
||||
|
||||
function Gear(props: any) {
|
||||
const gltf = useLoader(GLTFLoader, './gear.glb');
|
||||
|
|
Loading…
Reference in New Issue