src/main/java/com/flowpowered/noise/module/modifier/Range.java
private void recalculateScaleBias() {
    	scale = (getNewUpperBound() - getNewLowerBound()) / 
        		(getCurrentUpperBound() - getCurrentLowerBound());
    	bias = getNewLowerBound() - getCurrentLowerBound() * scale;
    }
private void recalculateScaleBias() {
    	scale = (getNewUpperBound() - getNewLowerBound()) / 
        		(getCurrentUpperBound() - getCurrentLowerBound());
    	bias = getNewLowerBound() - getCurrentLowerBound() * scale;
    }
private void recalculateScaleBias ( ) { scale = ( getNewUpperBound ( ) - getNewLowerBound ( ) ) / ( getCurrentUpperBound ( ) - getCurrentLowerBound ( ) ) ; bias = getNewLowerBound ( ) - getCurrentLowerBound ( ) * scale ; }
/*
Calculate the scale and biased to be a applied during Range#getValue(int x, int y, int z)
Should be called when the bounds are modified
/ * Calculate the scale and biased to be a applied during Range#getValue ( int x int y int z ) Should be called when the bounds are modified