Working (but slow) shadow shapes

This commit is contained in:
2021-09-17 23:12:51 +01:00
parent 294e01479a
commit 6ac53c052c
16 changed files with 167 additions and 60 deletions
+17
View File
@@ -0,0 +1,17 @@
module ShapePicture
( module ShapePicture
, module ShapePicture.Data
)
where
import Shape
import ShapePicture.Data
import Picture
import Geometry
emptyBlank :: SPic
emptyBlank = SPic empty blank
translateSP :: Float -> Float -> SPic -> SPic
translateSP x y (SPic sh pic) = SPic
(translateSH (V3 x y 0) sh)
(translate x y pic)