Improve code graduated filter

This commit is contained in:
Desmis
2019-11-22 07:47:58 +01:00
parent e366cf39a4
commit 29d132f0fc
4 changed files with 13 additions and 69 deletions

View File

@@ -568,7 +568,7 @@ static void calcGradientParams (int oW, int oH, const GradientParams& gradient,
}
}
static float calcGradientFactor (const struct grad_params& gp, int x, int y)
float ImProcFunctions::calcGradientFactor (const struct grad_params& gp, int x, int y)
{
if (gp.angle_is_zero) {
int gy = gp.transpose ? x : y;