Skip to content

Commit

Permalink
feat(Sky): remove unused ref from from demo
Browse files Browse the repository at this point in the history
  • Loading branch information
andretchen0 committed Sep 16, 2023
1 parent 5c29e9b commit 4968785
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions playground/src/pages/staging/SkyDemo.vue
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
<script setup lang="ts">
import { shallowRef } from 'vue'
import { TresCanvas } from '@tresjs/core'
import { OrbitControls, Sky } from '@tresjs/cientos'
import { SRGBColorSpace, ACESFilmicToneMapping } from 'three'
Expand All @@ -23,7 +22,6 @@ const [turbidity, rayleigh, mieCoefficient, mieDirectionalG, elevation, azimuth,
exposure: { value: 0.5, min: 0, max: 1, step: 0.01 },
})
const skyRef = shallowRef(null)
</script>

<template>
Expand All @@ -34,7 +32,6 @@ const skyRef = shallowRef(null)
>
<TresPerspectiveCamera :position="[0, 100, 2000]" />
<Sky
ref="skyRef"
:elevation="elevation.value.value"
:azimuth="azimuth.value.value"
:mie-coefficient="mieCoefficient.value.value"
Expand Down

0 comments on commit 4968785

Please sign in to comment.