Tweak weapon pictures
This commit is contained in:
+1
-2
@@ -16,9 +16,8 @@ emptyBlank = (emptySH,blank)
|
||||
translateSPf :: Float -> Float -> SPic -> SPic
|
||||
translateSPf x y = bimap (translateSH (V3 x y 0)) (translate x y)
|
||||
|
||||
-- TODO make this uniform: currently the shape translates and the picture is set to a constant
|
||||
translateSPz :: Float -> SPic -> SPic
|
||||
translateSPz z = bimap (translateSH (V3 0 0 z)) (setDepth z)
|
||||
translateSPz z = bimap (translateSH (V3 0 0 z)) (translate3 (V3 0 0 z))
|
||||
|
||||
rotateSP :: Float -> SPic -> SPic
|
||||
rotateSP a = bimap (rotateSH a) (rotate a)
|
||||
|
||||
Reference in New Issue
Block a user