前两天看linux下的crazytank源码里有个gpc.c。
描述的是多边形间的几何运算。
" Generic Polygon Clipper
A new algorithm for calculating the difference, intersection,
exclusive-or or union of arbitrary polygon sets.
"
官方网址:
前两天看linux下的crazytank源码里有个gpc.c。
描述的是多边形间的几何运算。
" Generic Polygon Clipper
A new algorithm for calculating the difference, intersection,
exclusive-or or union of arbitrary polygon sets.
"
官方网址: