Project

General

Profile

« Previous | Next » 

Revision 698ad0a8

Added by Leszek Koltunski about 4 years ago

Move the Effects.setStretch to Meshbase.setStretch

View differences:

src/main/java/org/distorted/examples/effectqueue/EffectQueueRenderer.java
78 78
    MatrixEffectScale scaleEffect = new MatrixEffectScale(mScale);
79 79

  
80 80
    mMesh = new MeshRectangles(MESH_QUALITY,MESH_QUALITY*texHeight/texWidth);
81
    mMesh.setStretch(texWidth,texHeight,0);
82

  
81 83
    mTexture = new DistortedTexture();
82
    mEffects = new DistortedEffects(texWidth,texHeight,0);
84
    mEffects = new DistortedEffects();
83 85
    mEffects.apply(scaleEffect);
84 86

  
85 87
    mScreen = new DistortedScreen();

Also available in: Unified diff