Path: chuka.playstation.co.uk!news From: Tones Newsgroups: scee.yaroze.programming.2d_graphics Subject: Bresenham and his mates.... Date: Fri, 29 Jan 1999 18:36:14 +0000 Organization: PlayStation Net Yaroze (SCEE) Lines: 85 Message-ID: <36B1FF9D.B55ED267@cwcom.net> NNTP-Posting-Host: 193.82.133.203 Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="------------17AE70712E2CE8A3AAD923F5" X-Mailer: Mozilla 4.05 [en] (Win95; I) --------------17AE70712E2CE8A3AAD923F5 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Hi! Quick question..... I have a circle at point 0,0, with a radius of 10 (example). OK, a bit like this :(Use fixed width font!) xBx xx xn <----Point n x x x x x c x - Sposed to be 10 high, but I'm crap at this! x x x x xx xx xxx Here is my problem. If point 'c' is at 0,0, how do I calculate where point n is (ie what is it's x and y values?) from point c. The idea is, when the user presses 'right', the line start off from 0,0 to point B, and goes right to point n. (from c) I hope you get what I mean - I spose the nearest example would be a clock!!!! Cheers! Tones 8) --------------17AE70712E2CE8A3AAD923F5 Content-Type: text/html; charset=us-ascii Content-Transfer-Encoding: 7bit Hi!

Quick question.....

I have a circle at point 0,0, with a radius of 10 (example).  OK, a bit like this :(Use fixed width font!)
 

                    xBx
                  xx   xn    <----Point n
                 x       x
                x         x
                x    c    x    - Sposed to be 10 high, but I'm crap at this!
                x         x
                 x       x
                  xx   xx
                    xxx

Here is my problem.  If point 'c' is at 0,0, how do I calculate where point n is (ie what is it's x and y values?) from point c.

The idea is, when the user presses 'right', the line start off from 0,0 to point B, and goes right to point n. (from c)

I hope you get what I mean - I spose the nearest example would be a clock!!!!

Cheers!

Tones 8) --------------17AE70712E2CE8A3AAD923F5--