sourcemars / cocos2d-android-1

Automatically exported from code.google.com/p/cocos2d-android-1
0 stars 0 forks source link

ccpLineIntersect broken #88

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Hi,

I'm new to cocos2d but I started using it and found out that the line intersect 
method in CGPoint is broken. I copied the one from cocos2d-iphone and it solved 
my issues... the android version was returning s & t between 0 and 1 for lines 
that didn't intersect on the segments...

I suggest you guys backport that iphone version into the android tree...

Cheers

Pat

Original issue reported on code.google.com by pat.enfe...@gmail.com on 13 Jul 2011 at 8:16