Add electrical bullets
This commit is contained in:
@@ -89,6 +89,10 @@ addZ :: Float -> Point2 -> Point3
|
||||
{-# INLINE addZ #-}
|
||||
addZ z (V2 x y) = V3 x y z
|
||||
|
||||
v2z :: Point2 -> Float -> Point3
|
||||
{-# INLINE v2z #-}
|
||||
v2z (V2 x y) z = V3 x y z
|
||||
|
||||
stripZ :: Point3 -> Point2
|
||||
{-# INLINE stripZ #-}
|
||||
stripZ (V3 x y _) = V2 x y
|
||||
|
||||
Reference in New Issue
Block a user