X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;ds=sidebyside;f=synfig-core%2Ftrunk%2Fsrc%2Fmodules%2Fmod_gradient%2Fradialgradient.cpp;h=c52616fed1aa6695f98ba7e07525adcab521b4da;hb=8d7ee27620913064c75d4c1e0614e1f99ece09e4;hp=13de595f57e2bc4bec4719301759d39495c1bbfa;hpb=2116b6ea1a18159e64e393d37e0c786e690bec61;p=synfig.git diff --git a/synfig-core/trunk/src/modules/mod_gradient/radialgradient.cpp b/synfig-core/trunk/src/modules/mod_gradient/radialgradient.cpp index 13de595..c52616f 100644 --- a/synfig-core/trunk/src/modules/mod_gradient/radialgradient.cpp +++ b/synfig-core/trunk/src/modules/mod_gradient/radialgradient.cpp @@ -6,6 +6,7 @@ ** ** \legal ** Copyright (c) 2002-2005 Robert B. Quattlebaum Jr., Adrian Bentley +** Copyright (c) 2007 Chris Moore ** ** This package is free software; you can redistribute it and/or ** modify it under the terms of the GNU General Public License as @@ -172,7 +173,7 @@ RadialGradient::color_func(const Point &point, float supersample)const float -RadialGradient::calc_supersample(const synfig::Point &x, float pw,float ph)const +RadialGradient::calc_supersample(const synfig::Point &/*x*/, float pw,float /*ph*/)const { // return sqrt(pw*pw+ph*ph)/radius; return 1.2*pw/radius;