Project

General

Profile

« Previous | Next » 

Revision a15631bc

Added by Leszek Koltunski almost 7 years ago

Progress with Magnify.

View differences:

src/main/java/org/distorted/library/Distorted.java
34 34
  static int GLSL;
35 35
  static String GLSL_VERSION;
36 36

  
37
  static float mMagnify = 1.0f;
37
  static int mMargin = 0;
38 38

  
39 39
  /**
40 40
   * When creating an instance of a DistortedTexture from another instance, clone the Bitmap that's
......
156 156

  
157 157
///////////////////////////////////////////////////////////////////////////////////////////////////
158 158

  
159
  public static void setMagnify(float m)
159
  public static void setMargin(int pixels)
160 160
    {
161
    mMagnify = m;
161
    mMargin = pixels;
162 162
    }
163 163
  }

Also available in: Unified diff