Project

General

Profile

« Previous | Next » 

Revision 85cbbc5e

Added by Leszek Koltunski over 7 years ago

Postprocessing effects: remove support for Center

View differences:

src/main/java/org/distorted/library/DistortedEffects.java
1080 1080
 *
1081 1081
 * @param radius The 'strength' if the effect, in pixels. 0 = no blur, 10 = when blurring a given pixel,
1082 1082
 *               take into account 10 pixels in each direction.
1083
 * @param center 2-dimensional Data that, at any given time, returns the Center of the Effect.
1084 1083
 * @return ID of the effect added, or -1 if we failed to add one.
1085 1084
 */
1086
  public long blur(Data1D radius, Data2D center)
1085
  public long blur(Data1D radius)
1087 1086
    {
1088
    return mP.add(EffectNames.BLUR, radius, center);
1087
    return mP.add(EffectNames.BLUR, radius);
1089 1088
    }
1090 1089
  }

Also available in: Unified diff