summaryrefslogtreecommitdiff
path: root/src/libs/sig/ops_clamp.c
diff options
context:
space:
mode:
authorVito Caputo <vcaputo@pengaru.com>2023-07-21 15:39:46 -0700
committerVito Caputo <vcaputo@pengaru.com>2023-07-21 15:39:46 -0700
commit29a42f48fcddf51bdf0ae640aa2513f1091e10d3 (patch)
tree9e6449568afe5e5d20fcb68138b3248190b245b0 /src/libs/sig/ops_clamp.c
parentb249494bd62713a5a2fcb1cd4180e5001643f2ac (diff)
modules/shapes: drop atan2_approx()
With the addition of the "radcache" in b6362c, the need for a faster approximate atan2f() is largely eliminated. And there seems to be a bug in the implementation as-is taken from https://mazzo.li/posts/vectorized-atan2.html You can see the bug as vertical line artifact around the center where the X coordinate would be 0. Rather than debug what's wrong with this approximation's implementation surrounding its quadrant adjustments, let's just resume using atan2f() and let the cache keep things quick.
Diffstat (limited to 'src/libs/sig/ops_clamp.c')
0 files changed, 0 insertions, 0 deletions
© All Rights Reserved