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/bean/BeanRenderer.java
91 91
      mEffects = new DistortedEffects();
92 92
      mEffects.apply( new VertexEffectDistort(dynLeft , pointLeft , regionLeft) );
93 93
      mEffects.apply( new VertexEffectDistort(dynRight, pointRight, regionRight));
94
      mEffects.apply( new MatrixEffectMove (mMove ) );
95 94
      mEffects.apply( new MatrixEffectScale(mScale) );
95
      mEffects.apply( new MatrixEffectMove (mMove ) );
96 96

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

Also available in: Unified diff