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/monalisa/MonaLisaRenderer.java
90 90

  
91 91
      mMove = new Static3D(0,0,0);
92 92
      mScale= new Static3D(1,1,1);
93
      mEffects.apply(new MatrixEffectMove(mMove));
94 93
      mEffects.apply(new MatrixEffectScale(mScale));
94
      mEffects.apply(new MatrixEffectMove(mMove));
95 95

  
96 96
      mScreen = new DistortedScreen();
97 97
      }

Also available in: Unified diff