Anonymous user
Talk:Xiaolin Wu's line algorithm: Difference between revisions
m
→REXX comment: changed negative numbers to negative coördinates. -- ~~~~
(→REXX comment: adjusted spelling. -- ~~~~) |
m (→REXX comment: changed negative numbers to negative coördinates. -- ~~~~) |
||
Line 58:
But, in the sort of context where this line algorithm would be useful that I have seen, screen coordinates are always have been non-negative integers, so in practice this kind of ambiguity should not matter. --[[User:Rdm|Rdm]] 15:52, 4 June 2012 (UTC)
: Yuppers, that's when the trouble starts. Still, an error is an error (even if only by omission or via ambiguousness), and it's especially troublesome when the pseudo-code in the Wikipedia entry doesn't mention the limitations. After I adjusted the IPART to FLOOR, it seems to work, but without others trying negative
|