X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=synfig-core%2Ftrunk%2Fsrc%2Fmodules%2Flyr_std%2Fsphere_distort.cpp;h=f847739c7e94e1f427ff40dde2ddc970980fbc3c;hb=fa569546257fc9ef11a6774f514d5abe9cf09542;hp=4ed1da38177785355578c275da53dfdc7ba26dcf;hpb=75d05bd880864441fb8aa79a6c491b28a662699d;p=synfig.git diff --git a/synfig-core/trunk/src/modules/lyr_std/sphere_distort.cpp b/synfig-core/trunk/src/modules/lyr_std/sphere_distort.cpp index 4ed1da3..f847739 100644 --- a/synfig-core/trunk/src/modules/lyr_std/sphere_distort.cpp +++ b/synfig-core/trunk/src/modules/lyr_std/sphere_distort.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 @@ -395,7 +396,7 @@ bool Layer_SphereDistort::accelerated_render(Context context,Surface *surface,in close = origin[i] + v[i]*t; - //now get transforms and expand the rectangle to accomodate + //now get transforms and expand the rectangle to accommodate Point p = sphtrans(close,center,radius,percent,type); expandr.expand(p[0],p[1]); p = sphtrans(origin[i],center,radius,percent,type); @@ -407,7 +408,7 @@ bool Layer_SphereDistort::accelerated_render(Context context,Surface *surface,in /*synfig::warning("Spherize: Bounding box (%f,%f)-(%f,%f)", expandr.minx,expandr.miny,expandr.maxx,expandr.maxy);*/ - //now that we have the bouding rectangle of ALL the pixels (should be...) + //now that we have the bounding rectangle of ALL the pixels (should be...) //order it so that it's in the same orientation as the tl,br pair //synfig::warning("Spherize: Organize like tl,br");