Add separate color type for alpha
This commit is contained in:
parent
454deed731
commit
f3bda5d40c
4 changed files with 19 additions and 7 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue