feat(nds): fixed camera position

This commit is contained in:
2025-12-14 20:42:34 +01:00
parent bb2202efa2
commit ce694d86f4
2 changed files with 10 additions and 2 deletions

View File

@@ -17,8 +17,11 @@ const bottomScreenCanvas = computed(() => bottomScreen.value?.canvas ?? null);
<template>
<div>
<TresCanvas window-size clear-color="#181818">
<TresPerspectiveCamera :args="[45, 1, 0.001, 1000]" />
<OrbitControls />
<TresPerspectiveCamera
:args="[45, 1, 0.001, 1000]"
:position="[0, 10, 12]"
:rotation="[-Math.PI / 4.7, 0, 0]"
/>
<TresAmbientLight />
<TresDirectionalLight />