feat(nds): intro animation
This commit is contained in:
@@ -1,5 +1,4 @@
|
||||
<script setup lang="ts">
|
||||
import * as THREE from "three";
|
||||
import type { Screen as NDSScreen } from "#components";
|
||||
|
||||
const ENABLE_3D = true;
|
||||
@@ -56,11 +55,7 @@ useKeyUp((key) => {
|
||||
<LoadingScreen v-if="!isReady" />
|
||||
<div v-else>
|
||||
<TresCanvas v-if="ENABLE_3D" window-size clear-color="#181818">
|
||||
<TresPerspectiveCamera
|
||||
:args="[45, 1, 0.001, 1000]"
|
||||
:position="[0, 10, 12]"
|
||||
:rotation="[THREE.MathUtils.degToRad(-38.3), 0, 0]"
|
||||
/>
|
||||
<TresPerspectiveCamera :args="[45, 1, 0.001, 1000]" />
|
||||
|
||||
<TresAmbientLight />
|
||||
<TresDirectionalLight />
|
||||
|
||||
Reference in New Issue
Block a user