[A86] Re: line draw sub


[Prev][Next][Index][Thread]

[A86] Re: line draw sub




--- "David Phillips" <david@acz.org>
> wrote:
>
>I'm assuming you need to draw a line from a point using a specified angle
>and length.  To do this, you need trig.  Precalculate a table with all the
>values of sine from 0 to 90 degrees multiplied by suitable value so that it
>fits in a byte. 

Uhm... the guy actually said:

>> I need a quick way to draw lines at a angle from point to point, and I
>cant
>> quite figure out how to it.

That seems more along the lines of: How do I draw from Pt A to Pt B?

Yeah, you could use angles and all that nasty stuff, but it is more likely that he could just use a simpler line draw routine from ACZ.org or something along those lines. 

-Krev

_____________________________________________________________
-------------------------------------------------
Matrix-Zed E-Mail (Should This Be Removed?)




Follow-Ups: