add base canvas scene

This commit is contained in:
DefectingCat
2023-05-16 10:42:11 +08:00
parent 8af5ccf7f7
commit 3eeff2efd9
4 changed files with 131 additions and 21 deletions

View File

@ -5,9 +5,9 @@ import dynamic from 'next/dynamic';
import Head from 'next/head';
import Image from 'next/image';
import { Suspense, useCallback } from 'react';
import { InitFn, THREE, useThree } from 'rua-three';
import styles from 'styles/index/index.module.css';
import { GLTF } from 'three/examples/jsm/loaders/GLTFLoader';
import HomeModle from './home-modle';
export const metadata = {
title: 'RUA - Home',
@ -30,6 +30,10 @@ export default function Page() {
/>
</span>
</h1>
<div>
<HomeModle />
</div>
</div>
</main>
);