Hi guys,
What a routine to draw a circle (x ** 2 + y ** 2 = r ** 2) without making use of any floating point computations at all.
Thanks
Hi guys,
What a routine to draw a circle (x ** 2 + y ** 2 = r ** 2) without making use of any floating point computations at all.
Thanks
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
VulpesPosted Jul 23, 2011, 4:52 PM
Here's the revised code - points generated in clockwise order:
VulpesPosted Jul 23, 2011, 3:44 PM