Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Code Snippets / [DBP] flood triangle fill algorithm

Author
Message
Neuro Fuzzy
16
Years of Service
User Offline
Joined: 11th Jun 2007
Location:
Posted: 25th Apr 2010 06:45
I know that it's a very common algorithm, and that it's very common... but I couldn't find one lying around, and I didn't really want to code one (finding which side to linear interpolate is a bit meh), so I converted a good-looking one i found from c++
Reason for this post: No one should have to code their own triangle fill algorithm from scratch for an actual project! it's like coding their own min or max function. Should be more of a copy-and-paste, dont really think about it, sort of thing.




Login to post a reply

Server time is: 2024-04-26 15:13:14
Your offset time is: 2024-04-26 15:13:14