Work on bouncing debris

This commit is contained in:
2025-08-02 22:14:25 +01:00
parent eeb7c8ac88
commit 5722ca8204
13 changed files with 141 additions and 1090 deletions
+1 -1
View File
@@ -1,5 +1,5 @@
{-# LANGUAGE StrictData #-}
{-# LANGUAGE TemplateHaskell #-}
--{-# LANGUAGE TemplateHaskell #-}
module Dodge.Data.Object where
+2 -1
View File
@@ -44,6 +44,7 @@ data DebrisType =
Gib {_gibSize :: Float
,_gibColor :: Color
}
| BlockDebris {_bdMaterial :: Material}
data Debris = DebrisChunk
{ _dbPos :: Point3
@@ -64,7 +65,7 @@ data PropDraw
| PropVerticalLampCover Float
| PropLampCover Float
| PropDrawToggle PropDraw
| PropDrawGib Float
-- | PropDrawGib Float
--deriving (Eq, Ord, Show, Read) --Generic, Flat)
data PropUpdate