[perl #101682] speed up color filled circle calculations
authorTony Cook <tony@develop-help.com>
Fri, 23 Jan 2015 12:29:37 +0000 (23:29 +1100)
committerTony Cook <tony@develop-help.com>
Fri, 23 Jan 2015 12:29:37 +0000 (23:29 +1100)
commit1bc6916b1eae9d90bddfd86cd5e806034f6cd344
treefd675d59cfbf5a21ac164dc3076c12f9a43d145f
parente301836a93be47835c81cb0d040d303e9f924a3f
[perl #101682] speed up color filled circle calculations

replaces a very inefficient mechanism calculating many sin()/cos() values
with a faster mechanism

It might be possible to replace this with a Bresenham's circle
algorithm, but one step at a time.
bench/circlef.pl [new file with mode: 0644]
draw.c