~ubuntu-branches/ubuntu/natty/rss-glx/natty

« back to all changes in this revision

Viewing changes to reallyslick/cpp_src/cyclone.cpp

  • Committer: Bazaar Package Importer
  • Author(s): Ari Pollak
  • Date: 2009-04-13 19:40:44 UTC
  • mto: (1.3.1 upstream) (2.1.4 sid)
  • mto: This revision was merged to the branch mainline in revision 26.
  • Revision ID: james.westby@ubuntu.com-20090413194044-e17hyf7pzkf5wkqo
ImportĀ upstreamĀ versionĀ 0.8.3

Show diffs side-by-side

added added

removed removed

Lines of Context:
201
201
                xyzChange[temp][1] = rsRandf (100.0f / dSpeed) + 75.0f / dSpeed;
202
202
        }
203
203
        for (i = dComplexity; i > 1; i--) {
204
 
                if (xyzChange[i][0] == xyzChange[i][1]) {
 
204
                if (xyzChange[i][0] >= xyzChange[i][1]) {
205
205
                        oldxyz[i][0] = xyz[i][0];
206
206
                        oldxyz[i][1] = xyz[i][1];
207
207
                        oldxyz[i][2] = xyz[i][2];
228
228
                xyzChange[1][0] = 0;
229
229
                xyzChange[1][1] = rsRandf (50.0f / dSpeed) + 30.0f / dSpeed;
230
230
        }
231
 
        if (xyzChange[0][0] == xyzChange[0][1]) {
 
231
        if (xyzChange[0][0] >= xyzChange[0][1]) {
232
232
                oldxyz[0][0] = xyz[0][0];
233
233
                oldxyz[0][1] = xyz[0][1];
234
234
                oldxyz[0][2] = xyz[0][2];
265
265
                widthChange[temp][1] = rsRandi (50.0f / dSpeed) + 50.0f / dSpeed;
266
266
        }
267
267
        for (i = dComplexity; i > 1; i--) {
268
 
                if (widthChange[i][0] == widthChange[i][1]) {
 
268
                if (widthChange[i][0] >= widthChange[i][1]) {
269
269
                        oldWidth[i] = width[i];
270
270
                        targetWidth[i] = rsRandf (50.0f) + 15.0f;
271
271
                        widthChange[i][0] = 0;