Skip to content

Commit

Permalink
added HalftoneShape enum
Browse files Browse the repository at this point in the history
  • Loading branch information
Tinoooo committed Sep 12, 2024
1 parent 6d3e9ed commit d484912
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/core/three/Halftone.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit d484912

Please sign in to comment.