Project

General

Profile

« Previous | Next » 

Revision 59bbb86a

Added by Leszek Koltunski almost 8 years ago

- Javadoc for EffectNames
- make Matrix effects consistent with the rest (center of effect as last parameter!)
- bugfix for yesterday's bugfix (we only want to send 'EFFECT_REMOVED' messages if it was really the Application that called 'abortAll' and not when we are cleaning up everything)

View differences:

src/main/java/org/distorted/examples/starwars/StarWarsRenderer.java
176 176
      
177 177
      mStars[i].move( new Static3D(randomX,randomY,0) );
178 178
      mStars[i].scale( new Static3D(randomS,randomS,randomS) );
179
      mStars[i].rotate( center, new Static1D(randomA), axis);
179
      mStars[i].rotate( new Static1D(randomA), axis, center );
180 180
      
181 181
      Dynamic1D di = new Dynamic1D(randomTime,0.0f);
182 182
      di.setNoise(0.5f);
......
372 372
        di.add(new Static3D(screenW/2,-scale*crawlH, 0));
373 373
        
374 374
        mCrawlBackground.move( new Static3D(0,screenH-backH,0) );
375
        mCrawlBackground.rotate(new Static3D(screenW/2,backH,0), new Static1D(CRAWL_ANGLE), new Static3D(1,0,0) );
375
        mCrawlBackground.rotate( new Static1D(CRAWL_ANGLE), new Static3D(1,0,0), new Static3D(screenW/2,backH,0) );
376 376
        
377 377
        final int transpDist = 5;
378 378
        Static4D region = new Static4D(screenW/2,(1-transpDist)*backH,transpDist*backH,transpDist*backH);

Also available in: Unified diff