diff --git a/components/calcModels.vue b/components/calcModels.vue index eb0264d..a0dda33 100644 --- a/components/calcModels.vue +++ b/components/calcModels.vue @@ -16,40 +16,12 @@ const cameraStat = reactive({ aspect: 1920 / 600, fov: 40, }) + onMounted(() => { cameraStat.aspect = window.innerWidth / 600 }) -const spot = reactive({ - x: 10, y: 10, z: 10, intensity: 10, distance: 10, color: 'red' -}) -const directional = reactive({ - x: 20, y: 10, z: 10, intensity: 10, distance: 10, color: 'green' -}) -const point = reactive({ - x: 30, y: 10, z: 10, intensity: 10, distance: 10, color: 'blue' -})