Mercurial > hg > opencollidoscope
diff CollidoscopeApp/src/Wave.cpp @ 3:7fb593d53361
added comments
author | Fiore Martin <f.martin@qmul.ac.uk> |
---|---|
date | Tue, 12 Jul 2016 18:29:38 +0200 |
parents | 02467299402e |
children | ab6db404403a |
line wrap: on
line diff
--- a/CollidoscopeApp/src/Wave.cpp Mon Jul 11 17:03:40 2016 +0200 +++ b/CollidoscopeApp/src/Wave.cpp Tue Jul 12 18:29:38 2016 +0200 @@ -96,7 +96,7 @@ const float wavePixelLen = ( mNumChunks * ( 2 + Chunk::kWidth ) ); - /* scale the x-axis for the wave to fit the window */ + /* scale the x-axis for the wave to fit the window precisely */ gl::scale( ((float)di.getWindowWidth() ) / wavePixelLen , 1.0f); /* draw the chunks */ if (mSelection.isNull()){