Revision 1b059065
Added by Leszek Koltunski over 5 years ago
| src/main/java/org/distorted/library/main/DistortedScreen.java | ||
|---|---|---|
| 27 | 27 |
import android.opengl.GLES31; |
| 28 | 28 |
|
| 29 | 29 |
import org.distorted.library.effect.MatrixEffectMove; |
| 30 |
import org.distorted.library.effect.MatrixEffectScale; |
|
| 30 | 31 |
import org.distorted.library.mesh.MeshQuad; |
| 31 | 32 |
import org.distorted.library.type.Static3D; |
| 32 | 33 |
|
| ... | ... | |
| 166 | 167 |
fpsTexture.setTexture(fpsBitmap); |
| 167 | 168 |
fpsCanvas = new Canvas(fpsBitmap); |
| 168 | 169 |
fpsEffects = new DistortedEffects(); |
| 169 |
fpsMesh.setStretch(FPS_W,FPS_H,0);
|
|
| 170 |
fpsEffects.apply( new MatrixEffectScale( new Static3D(FPS_W,FPS_H,1) ) );
|
|
| 170 | 171 |
fpsEffects.apply(mMoveEffect); |
| 171 | 172 |
|
| 172 | 173 |
mPaint = new Paint(); |
Also available in: Unified diff
Correct the Rubik app for the recent changes to the library's Node.