Projects > cpp > Issues > Bug #2494

We are migrating issue tracker of Cocos2d-x Project to Github, please create new issue there. Thanks.

Create Issue on Github

Point::isSegmentIntersect() may return wrong result

Bug #2494 [Closed]
zhangxm 2013-08-07 02:47 . Updated about 3 years ago

codes to reproduce

bool result = Point::isSegmentIntersect(Point(50, 200), Point(80, 200), Point(100, 200), Point(150, 200));

“result” will be true. But the two segments are not intersect.

zhangxm 2013-08-22 03:28
  • Assignee set to boyu0
boyu0 2013-08-27 08:34
  • Status changed from New to Closed
  • % Done changed from 0 to 100

Applied in changeset commit:18d3ab8e4afa3a3b6dc123308929c2c568c70a70.

Atom PDF

Start date:2013-08-07
Due date:
% Done:


Target version:3.0-alpha0

Sign up for our newsletter to keep up with the latest developments, releases and updates for Cocos2d-x.