New (Fast) Line Drawing Code

HappyKat78HappyKat78 Member, BASIC Posts: 173

Hi All,

I'm posting this on behalf of EricZingeler who shared this with me. Below is a link to the best line drawing code I've seen yet. It uses the new loop behaviors and is pretty fast. I've set it so that there are segments, but you can make it a solid line (check how in the notes).

There is a bug though, I've noticed the first segment doesn't rotate properly. If anyone can improve on this or fix this bug then please share.

Here is the link:

http://www.mediafire.com/download/sgubfybawslnjlu/Draw-object_v2.0.zip

Regards,

HK

Comments

Sign In or Register to comment.