Mercurial > hg > opencollidoscope
comparison CollidoscopeApp/include/Wave.h @ 7:a4a336624f5a
added some comments
DrawInfo dependency from NUM_WAVES
author | Fiore Martin <f.martin@qmul.ac.uk> |
---|---|
date | Fri, 15 Jul 2016 16:05:34 +0200 |
parents | 75b744078d66 |
children | 4dad0b810f18 |
comparison
equal
deleted
inserted
replaced
6:4c0e82b725d9 | 7:a4a336624f5a |
---|---|
85 void setStart( size_t start ); | 85 void setStart( size_t start ); |
86 | 86 |
87 /** Sets the size of selection. size is the number of chunks the selection is made of */ | 87 /** Sets the size of selection. size is the number of chunks the selection is made of */ |
88 void setSize( size_t size ); | 88 void setSize( size_t size ); |
89 | 89 |
90 /** Particle spread is used to calculate the size of the cloud of particles */ | 90 /** The particle spread parameter affects the size of the cloud of particles |
91 * The cloud is the visual conterpart of the grain duration coefficien in sound. | |
92 * Indeed spread accepts values from 1 to 8, exactly as the duration coefficient | |
93 */ | |
91 void inline setParticleSpread( float spread ){ | 94 void inline setParticleSpread( float spread ){ |
92 mParticleSpread = spread; | 95 mParticleSpread = spread; |
93 } | 96 } |
94 | 97 |
95 size_t getStart(void) const { return mSelectionStart; } | 98 size_t getStart(void) const { return mSelectionStart; } |