Add separate color type for alpha

This commit is contained in:
Kiana Sheibani 2022-11-30 09:50:41 -05:00
parent 454deed731
commit f3bda5d40c
Signed by: toki
GPG key ID: 6CB106C25E86A9F7
4 changed files with 19 additions and 7 deletions

View file

@ -9,9 +9,9 @@ import Render.Color
public export
interface Object' obj where
draw : obj -> Camera -> List (Integer, Integer, Color)
draw : obj -> Camera -> List (Integer, Integer, ColorAlpha)
export
public export
data Object : Type where
MkObject : Object' obj => obj -> Object