Revision: 12789 http://sourceforge.net/p/skim-app/code/12789 Author: hofman Date: 2022-02-14 14:46:40 +0000 (Mon, 14 Feb 2022) Log Message: ----------- include pi in range
Modified Paths: -------------- trunk/SkimTransitions/SKTTransitions.cikernel Modified: trunk/SkimTransitions/SKTTransitions.cikernel =================================================================== --- trunk/SkimTransitions/SKTTransitions.cikernel 2022-02-13 22:20:33 UTC (rev 12788) +++ trunk/SkimTransitions/SKTTransitions.cikernel 2022-02-14 14:46:40 UTC (rev 12789) @@ -83,7 +83,7 @@ loc = destCoord() - center; r = sqrt(dot(loc, loc)); a = (abs(loc.y) > abs(loc.x) ? 0.5 * pi - atan(loc.x, loc.y) : atan(loc.y, loc.x)) - pi2 * t * t / (1.0 + 0.01 * r); - a = a > -pi ? (a < pi ? a : a - pi2) : a + pi2; + a = a > pi ? a - pi2 : (a > -pi ? a : a + pi2); extent = samplerExtent(src); extent.xy -= center; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. _______________________________________________ Skim-app-commit mailing list Skim-app-commit@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/skim-app-commit