Hi,
I'm currently using CGContextMoveToPoint, CGContextAddLineToPoint & CGContextStrokePath to draw lines on a view.
Basically making a snake game that also allows user to move diagonally.
Is there a way to find when 2 lines that I draw intersect or do I have to manually calculate each lines and see if anything intersects?
Thanks,
Tee