Need help with code snippet using trig.

BlitzMax Forums/BlitzMax Programming/Need help with code snippet using trig.

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

And trigonometry deals with triangles. And how do you draw a circle on a computer screen? By calculating lots and lots of triangles. One for each pixel in fact.

Each pixel in a circle is one point of a right triangle, where the point's radius is the length of the hypoteneuse, the point's X coordinate is the length of the opposite side, and the point's Y coordinate is the length of the adjacent side.

Trigonometry! Ta da!