Continue bullet refactor
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
module Dodge.Bullet.Draw
|
||||
( drawBul
|
||||
) where
|
||||
import Dodge.Data
|
||||
import Picture
|
||||
|
||||
import Linear
|
||||
|
||||
drawBul :: Bullet -> Picture
|
||||
drawBul pt = setLayer BloomNoZWrite
|
||||
. setDepth 20
|
||||
. color (V4 200 200 200 2)
|
||||
$ thickLine (_buWidth pt) [_buOldPos pt, _buPos pt]
|
||||
Reference in New Issue
Block a user