Sha256: 3f148454ea0e1360db1e1612a056714dfda16b6b59fa69c6a0cc75b3db317823

Contents?: true

Size: 322 Bytes

Versions: 11

Compression:

Stored size: 322 Bytes

Contents

package toxi.volume;

import toxi.math.MathUtils;

/**
 *
 * @author tux
 */
public class PeakBrush implements BrushMode {

    /**
     *
     * @param orig
     * @param brush
     * @return
     */
    @Override
    public final float apply(float orig, float brush) {
        return MathUtils.max(orig, brush);
    }
}

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
toxiclibs-2.1.0 src/main/java/toxi/volume/PeakBrush.java
toxiclibs-2.0.0 src/main/java/toxi/volume/PeakBrush.java
toxiclibs-1.0.0 src/toxi/volume/PeakBrush.java
toxiclibs-0.9.3 src/toxi/volume/PeakBrush.java
toxiclibs-0.9.2 src/toxi/volume/PeakBrush.java
toxiclibs-0.9.1 src/toxi/volume/PeakBrush.java
toxiclibs-0.9.0 src/toxi/volume/PeakBrush.java
toxiclibs-0.8.0 src/toxi/volume/PeakBrush.java
toxiclibs-0.6.0-java src/toxi/volume/PeakBrush.java
toxiclibs-0.5.1-java src/toxi/volume/PeakBrush.java
toxiclibs-0.5.0-java src/toxi/volume/PeakBrush.java