Move muzzles out of records
This commit is contained in:
@@ -276,9 +276,11 @@ torchShape =
|
||||
back = upperPrismPolySE 3 $ rectXH 1 2
|
||||
|
||||
baseStickShapeX :: Item -> Int -> Shape
|
||||
baseStickShapeX it _ = foldMap f (it ^?! itUse . heldMuzzles)
|
||||
where
|
||||
f brl = rotateSH (_mzRot brl) baseStickShape
|
||||
baseStickShapeX _ _ = mempty
|
||||
--baseStickShapeX it _ = mempty
|
||||
-- foldMap f (it ^?! itUse . heldMuzzles)
|
||||
-- where
|
||||
-- f brl = rotateSH (_mzRot brl) baseStickShape
|
||||
|
||||
baseStickShape :: Shape
|
||||
baseStickShape = colorSH green $ xCylinderST 3 10
|
||||
|
||||
Reference in New Issue
Block a user