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/sink/SinkRenderer.java
71 71

  
72 72
    mScale = new Static3D(1,1,1);
73 73
    mMove  = new Static3D(0,0,0);
74
    mEffects.apply(new MatrixEffectMove(mMove));
75 74
    mEffects.apply(new MatrixEffectScale(mScale));
75
    mEffects.apply(new MatrixEffectMove(mMove));
76 76

  
77 77
    mScreen = new DistortedScreen();
78 78
    }

Also available in: Unified diff