59

实现钢铁雄心那样的可点击地图(二)

 6 years ago
source link: http://gad.qq.com/article/detail/36371
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
实现钢铁雄心那样的可点击地图(一)上回有提到单纯使用边界点与多边形关系判断是无法确定凹凸性的,但代码又舍不得删,怎么办呢?其实在上一篇的代码也有写到取i-1到i+1线段中的一些点,只要这些点不在多边形

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK