Project

General

Profile

« Previous | Next » 

Revision a8162df9

Added by Leszek Koltunski almost 7 years ago

Beginnings of support of Magnification.

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;
38

  
37 39
  /**
38 40
   * When creating an instance of a DistortedTexture from another instance, clone the Bitmap that's
39 41
   * backing up our DistortedTexture.
......
151 153

  
152 154
    mInitialized = false;
153 155
    }
156

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

  
159
  public static void setMagnify(float m)
160
    {
161
    mMagnify = m;
162
    }
154 163
  }

Also available in: Unified diff