Compare commits

..

1 Commits
ARTest ... main

Author SHA1 Message Date
Kumkwats
6c20416a83 ARView 2023-02-08 09:17:15 +01:00
2 changed files with 4 additions and 2 deletions

View File

@ -3,12 +3,14 @@
import '@ar-js-org/ar.js/aframe/build/aframe-ar'; import '@ar-js-org/ar.js/aframe/build/aframe-ar';
</script> </script>
<!--
<script> <script>
let Angle = 45; let Angle = 45;
setInterval(() => { setInterval(() => {
Angle++; Angle++;
}, 100); }, 100);
</script> </script>
-->
<a-scene embedded arjs> <a-scene embedded arjs>
<a-marker preset="hiro"> <a-marker preset="hiro">

View File

@ -1,6 +1,6 @@
<script lang="ts"> <script lang="ts">
import ARHandler from '../components/ARHandler.svelte';
import NavBar from '../components/NavBar.svelte'; import NavBar from '../components/NavBar.svelte';
import ARTest from '../components/ARTest.svelte';
let containerHeight: number; let containerHeight: number;
let containerWidth: number; let containerWidth: number;
@ -11,7 +11,7 @@
bind:clientHeight={containerHeight} bind:clientHeight={containerHeight}
bind:clientWidth={containerWidth} bind:clientWidth={containerWidth}
> >
<ARTest/> <ARHandler/>
<!-- <Camera height={containerHeight} width={containerWidth} /> --> <!-- <Camera height={containerHeight} width={containerWidth} /> -->
<!-- <View3D height={containerHeight} width={containerWidth} /> --> <!-- <View3D height={containerHeight} width={containerWidth} /> -->
</div> </div>