I'm wondering if this algorithm works correctly for negative coordinate values. I set a starting point at (-5, -2) and an endpoint at (-2, -6), but using the same method of incrementing 𝑥 or 𝑦 based on the slope 𝑚 gives me a line that never seems to actually converge to the endpoint. Someone, please prove me wrong.
I know you might say that physical graphics typically operate in the first quadrant of the Cartesian coordinate system.