Fill out core architecture

This commit is contained in:
Kiana Sheibani 2022-11-30 08:39:43 -05:00
parent 7e4888af48
commit 454deed731
Signed by: toki
GPG key ID: 6CB106C25E86A9F7
5 changed files with 97 additions and 0 deletions

17
src/Render/Object.idr Normal file
View file

@ -0,0 +1,17 @@
module Render.Object
import Data.Vect
import Render.Camera
import Render.Color
%default total
public export
interface Object' obj where
draw : obj -> Camera -> List (Integer, Integer, Color)
export
data Object : Type where
MkObject : Object' obj => obj -> Object