Advertisement

asphyxia line algorithm? or Amod Karve's algo? (same same).

Started by September 06, 2000 09:19 PM
1 comment, last by CodyVa 24 years, 3 months ago
I know their are line functions/methods in languages but I wanted to understand them(?). I know they may be the same(sorta) but asphyxia tutorial said their may be up to 8 different ways to draw the lines, the Amod Karve document said only 2(if i read it write), After reading it seems the Karve document seems easier. Which is more effecient? Thanks.
sorry, the document i read that says 8 similar pieces of code was in the PC-GPE on line algorith..mark feldman i think.

Advertisement
I figured it out, only 2 different pieces of code are needed
one for when the change in x is bigger then the change in y
and the change in y is bigger thent he change in x.

Well a third simple one for when change in x = change in y...

I guess i can''t say thanks..only to myself and the doc''s hehe.

This topic is closed to new replies.

Advertisement