判断两条线段相交的两种算法
// Returns true if the lines between v0v1 and t0t1 cross
// If the lines cross, the intersection between them will
// be stored in intersectionPoint
bool linesCross(b2Vec2 v0, b2Vec2 v1, b2Vec2 t0, b2
原创
2013-01-22 16:42:56 ·
1901 阅读 ·
0 评论