comparison CollidoscopeApp/include/ParticleController.h @ 16:4dad0b810f18

Comment tidy up + attributions
author Fiore Martin <f.martin@qmul.ac.uk>
date Tue, 16 Aug 2016 14:27:53 +0100
parents 75b744078d66
children
comparison
equal deleted inserted replaced
15:5241f96479d6 16:4dad0b810f18
34 struct Particle { 34 struct Particle {
35 35
36 ci::vec2 mCloudCenter; // initial positin of the particle 36 ci::vec2 mCloudCenter; // initial positin of the particle
37 ci::vec2 mVel; // velocity 37 ci::vec2 mVel; // velocity
38 float mCloudSize; // how big is the area where particle float around. When a particle hits the 38 float mCloudSize; // how big is the area where particle float around. When a particle hits the
39 // border of the area it gets deflected 39 // border of the area it gets deflected
40 40
41 int mAge; // when mAge == mLifeSpan the particle is disposed 41 int mAge; // when mAge == mLifeSpan the particle is disposed
42 int mLifespan; // how long a particle lives 42 int mLifespan; // how long a particle lives
43 bool mFlyOver; // some particles last longer and fly over the screen and reach the other user 43 bool mFlyOver; // some particles last longer and fly over the screen and reach the other user
44 44