From d484912c034004190945e4fe741f861918c1e1c4 Mon Sep 17 00:00:00 2001 From: Tino Koch <17991193+Tinoooo@users.noreply.github.com> Date: Thu, 12 Sep 2024 23:33:48 +0200 Subject: [PATCH] added HalftoneShape enum --- src/core/three/Halftone.vue | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/core/three/Halftone.vue b/src/core/three/Halftone.vue index baee3175..8357782d 100644 --- a/src/core/three/Halftone.vue +++ b/src/core/three/Halftone.vue @@ -6,12 +6,12 @@ import { computed, watchEffect } from 'vue' import type { Blending } from 'three/src/constants.js' import { useEffect } from './composables/useEffect' -export const Dot = 1 -export const Ellipse = 2 -export const Line = 3 -export const Square = 4 - -export type HalftoneShape = typeof Dot | typeof Ellipse | typeof Line | typeof Square +export enum HalftoneShape { + Dot = 1, + Ellipse = 2, + Line = 3, + Square = 4, +} interface HalftonePassProps { shape?: HalftoneShape