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/differentbitmaps/DifferentBitmapsRenderer.java
93 93
        {
94 94
        mMove[i] = new Static3D(0,0,0);
95 95
        moveEffect[i] = new MatrixEffectMove(mMove[i]);
96
        mEffects[i].apply(moveEffect[i]);
97 96
        mEffects[i].apply(scaleEffect);
97
        mEffects[i].apply(moveEffect[i]);
98 98
        }
99 99

  
100 100
      mScreen = new DistortedScreen();

Also available in: Unified diff