Project

General

Profile

« Previous | Next » 

Revision dae661e9

Added by Leszek Koltunski about 5 years ago

Invert the order of Matrix Effects. Now, just as in the other queues, the first matrix effect is actually the first to act on the object - not the other way around!

View differences:

src/main/java/org/distorted/examples/aroundtheworld/AroundTheWorldRenderer.java
69 69
      mView = view;
70 70
      mManager = new AroundTheWorldEffectsManager();
71 71
      mEffects = new DistortedEffects();
72
      mEffects.apply(new MatrixEffectMove(mMove));
73 72
      mEffects.apply(new MatrixEffectScale(mScale));
73
      mEffects.apply(new MatrixEffectMove(mMove));
74 74

  
75 75
      mManager.apply(mEffects);
76 76
      mScreen = new DistortedScreen();

Also available in: Unified diff