what is the difference between line with positive slope and line with negative slope while deriving bresenham's line algorithm?

i have derived bresenham's line algorithm for positve slope (L-R) and m<1.

how can i derive BLA for negative slope and m>1 or m<1.

1 Answer

Relevance
  • roger
    Lv 7
    1 month ago

    If you  do not  want to do  negative  slope  reverse the  start and  end points.

    • Log in to reply to the answers
Still have questions? Get answers by asking now.