🔧 Increase the cap for gradient stops

This commit is contained in:
Belén Albeza 2025-04-24 11:43:29 +02:00
parent 281c0068d9
commit ab90d9d01c
2 changed files with 2 additions and 2 deletions

View file

@ -5,7 +5,7 @@
(def ^:private GRADIENT-STOP-SIZE 8)
(def ^:private GRADIENT-BASE-SIZE 28)
;; TODO: Define in shape model
(def ^:private MAX-GRADIENT-STOPS 8)
(def ^:private MAX-GRADIENT-STOPS 16)
(def GRADIENT-BYTE-SIZE
(+ GRADIENT-BASE-SIZE (* MAX-GRADIENT-STOPS GRADIENT-STOP-SIZE)))