Prop reification/splitting
This commit is contained in:
@@ -4,18 +4,9 @@ import Geometry
|
||||
defaultProp :: Prop
|
||||
defaultProp = ShapeProp
|
||||
{ _prPos = V2 0 0
|
||||
, _prDraw = const mempty
|
||||
, _pjID = 0
|
||||
, _pjUpdate = const id
|
||||
, _prToggle = True
|
||||
, _pjRot = 0
|
||||
}
|
||||
defaultShapeProp :: Prop
|
||||
defaultShapeProp = ShapeProp
|
||||
{ _prPos = 0
|
||||
, _pjID = 0
|
||||
, _pjRot = 0
|
||||
, _pjUpdate = const id
|
||||
, _prDraw = const mempty
|
||||
, _prDraw = PropDrawSPic mempty
|
||||
, _prID = 0
|
||||
, _prUpdate = PropUpdateId
|
||||
, _prToggle = True
|
||||
, _prRot = 0
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user