Revision dae661e9
Added by Leszek Koltunski about 5 years ago
src/main/java/org/distorted/examples/multiblur/MultiblurRenderer.java | ||
---|---|---|
132 | 132 |
|
133 | 133 |
for(int i=0; i<NUM_OBJECTS; i++) |
134 | 134 |
{ |
135 |
effects[i].apply(moveEffect); |
|
136 |
effects[i].apply(scaleEffect); |
|
137 |
effects[i].apply(quatEffect1); |
|
138 |
effects[i].apply(quatEffect2); |
|
139 | 135 |
effects[i].apply(new MatrixEffectMove(mMoveVector[i])); |
136 |
effects[i].apply(quatEffect2); |
|
137 |
effects[i].apply(quatEffect1); |
|
138 |
effects[i].apply(scaleEffect); |
|
139 |
effects[i].apply(moveEffect); |
|
140 | 140 |
} |
141 | 141 |
} |
142 | 142 |
|
Also available in: Unified diff
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!