专注于互联网--专注于架构

最新标签
网站地图
文章索引
Rss订阅
用C语言来实现DDA和BRESENHAM直线算法代码 #<graphics.h> #<stdio.h> #<math.h> #<process.h> /*sheru*/ Round(floata) { ()(a+0.5); } /*DDA*/ voidLineWithDDA(xStart,yStart,xEnd,yEnd) { dx=xEnd-xStart,dy=yEnd-yStart,steps,k; floa [阅读全文] [PDF]
1 共1条 分1页