added pitch rate for particles
This commit is contained in:
parent
ab976b4af6
commit
954c70b31b
1 changed files with 5 additions and 4 deletions
|
@ -132,6 +132,7 @@ data Particle = Particle
|
||||||
, particlePosition :: (Double, Double) -- ^ Position of particle on canvas
|
, particlePosition :: (Double, Double) -- ^ Position of particle on canvas
|
||||||
, particleRotation :: Double -- ^ Particle rotation
|
, particleRotation :: Double -- ^ Particle rotation
|
||||||
, particleVelocity :: (Int, Int) -- ^ particle velocity as vector of pixels per second
|
, particleVelocity :: (Int, Int) -- ^ particle velocity as vector of pixels per second
|
||||||
|
, particlePitchRate :: Double -- ^ Rotational velocity of particle
|
||||||
} deriving (Show, Eq)
|
} deriving (Show, Eq)
|
||||||
|
|
||||||
data ParticleSystem = ParticleSystem
|
data ParticleSystem = ParticleSystem
|
||||||
|
|
Loading…
Reference in a new issue