Optimization of Bresenham's line algorithm

后端 未结 0 1241
难免孤独
难免孤独 2021-01-22 04:25

The code which draws line using Bresenham\'s algorithm is shown below (from Wikipedia):

void BresenhamLine(const int x1, const int y1, const int x2, const int y2)         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题