Revision a4d59c0b
Added by Leszek Koltunski over 5 years ago
src/main/java/org/distorted/examples/effectqueue/EffectQueueRenderer.java | ||
---|---|---|
107 | 107 |
|
108 | 108 |
for(int i=0; i<=NUMLINES ; i++ ) |
109 | 109 |
{ |
110 |
canvas.drawRect(texWidth*i/NUMLINES - 1, 0, texWidth*i/NUMLINES + 1, texHeight , mPaint);
|
|
111 |
canvas.drawRect( 0, texHeight*i/NUMLINES -1, texWidth , texHeight*i/NUMLINES + 1, mPaint);
|
|
110 |
canvas.drawRect(texWidth*i/NUMLINES-1, 0, texWidth*i/NUMLINES+1, texHeight , mPaint);
|
|
111 |
canvas.drawRect( 0, texHeight*i/NUMLINES-1, texWidth , texHeight*i/NUMLINES+1, mPaint);
|
|
112 | 112 |
} |
113 | 113 |
mTexture.setTexture(bitmap); |
114 | 114 |
|
Also available in: Unified diff
Massive: make the coordinate system agree with that of OpenGL (i.e. invert the Y axis).