etxztn / pulpcore

Automatically exported from code.google.com/p/pulpcore
0 stars 0 forks source link

Reflection Filter #30

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
There is a error in Reflection.java. The following will fix it. (No idea 
how to commit source!)

    /**
        Creates a Reflection filter with the default parameters.
     */
    public Reflection() {
        this(1);
    }

        /**
        Creates a Reflection filter with the specified gap.
     */
    public Reflection(int gap) {
        this(gap, 0.75f);
    }

    /**
        Creates a Reflection filter with the specified gap and 
reflection height (as a fraction of
        the input image).
    */
    public Reflection(int gap, float fraction) {
        this(gap, fraction, 128, 0);
    }

Original issue reported on code.google.com by send.to....@gmail.com on 6 Mar 2010 at 2:31

GoogleCodeExporter commented 8 years ago
Thanks for posting a fix. In HG.

Original comment by brack...@gmail.com on 8 Mar 2010 at 9:17