Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| cb98aa92b8 |
@@ -33,7 +33,7 @@ export default function LandingPage() {
|
|||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
// Load Three.js and create 3D ambulance model
|
// Load Three.js and create 3D ambulance model
|
||||||
const loadThreeScene = async () => {
|
const loadThreeScene = async () => {
|
||||||
const { default: THREE } = await import("three");
|
const THREE = await import("three");
|
||||||
const { GLTFLoader } = await import("three/examples/jsm/loaders/GLTFLoader.js");
|
const { GLTFLoader } = await import("three/examples/jsm/loaders/GLTFLoader.js");
|
||||||
const { OrbitControls } = await import("three/examples/jsm/controls/OrbitControls.js");
|
const { OrbitControls } = await import("three/examples/jsm/controls/OrbitControls.js");
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user