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/girl/GirlRenderer.java
125 125

  
126 126
      mMove = new Static3D(0,0,0);
127 127
      mScale= new Static3D(1,1,1);
128
      mEffects.apply(new MatrixEffectMove(mMove));
129 128
      mEffects.apply(new MatrixEffectScale(mScale));
129
      mEffects.apply(new MatrixEffectMove(mMove));
130 130

  
131 131
      mScreen = new DistortedScreen();
132 132
      }

Also available in: Unified diff