Anonymous user
Bitmap/Bresenham's line algorithm: Difference between revisions
Updated D entry
m (→{{header|Coffeescript}}: Changed language name) |
(Updated D entry) |
||
Line 388:
in size_t x2, in size_t y2,
in Color color)
pure nothrow @nogc {
immutable int dx = x2 - x1;
immutable int ix = (dx > 0) - (dx < 0);
|