Anonymous user
Bitmap/Bresenham's line algorithm: Difference between revisions
cannot use const with std::swap, the values need to be writable!
(→{{header|C++}}: minor bug fixed) |
(cannot use const with std::swap, the values need to be writable!) |
||
Line 917:
=={{header|C++}}==
<lang cpp>
void Line(
{
// Bresenham's line algorithm
|