feat: implement first dragging edge prototype

This commit is contained in:
2024-03-11 02:02:04 +01:00
parent a74bd0cf16
commit 1d6ae65630
9 changed files with 127 additions and 34 deletions

View File

@ -1,6 +1,7 @@
<script lang="ts">
import { invoke } from "@tauri-apps/api/core";
import { onMount } from "svelte";
import { PerfMonitor } from "@threlte/extras";
import { Canvas } from "@threlte/core";
import Scene from "$lib/components/Scene.svelte";
@ -27,7 +28,8 @@
</script>
<div>
<Canvas shadows={false}>
<Canvas shadows={false} renderMode="on-demand">
<PerfMonitor />
<Scene {graph} />
</Canvas>
</div>