Define shape datatype
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
module Dodge.Render.Shape
|
||||
where
|
||||
import Dodge.Data
|
||||
import Shape
|
||||
import Geometry
|
||||
import Color
|
||||
|
||||
worldShape :: World -> Shape
|
||||
worldShape _ = colorSh green . translateSh (V3 (-20) 200 50) . flatPoly $ rectNSWE 20 0 0 20
|
||||
Reference in New Issue
Block a user