Revision a4d59c0b
Added by Leszek Koltunski over 5 years ago
src/main/java/org/distorted/examples/multiblur/MultiblurRenderer.java | ||
---|---|---|
170 | 170 |
float factor = 0.15f*mScreenMin/OBJ_SIZE; |
171 | 171 |
mScale.set(factor,factor,factor); |
172 | 172 |
mCenter.set((float)OBJ_SIZE/2, (float)OBJ_SIZE/2, (float)OBJ_SIZE/2 ); |
173 |
mMove.set( (width -factor*OBJ_SIZE)/2 ,(height-factor*OBJ_SIZE)/2 ,0);
|
|
173 |
mMove.set( (width -factor*OBJ_SIZE)/2 ,(height-factor*OBJ_SIZE)/2 , -factor*OBJ_SIZE);
|
|
174 | 174 |
computeMoveVectors(); |
175 | 175 |
mScreen.resize(width, height); |
176 | 176 |
} |
Also available in: Unified diff
Massive: make the coordinate system agree with that of OpenGL (i.e. invert the Y axis).