0
\$\begingroup\$

This question already has an answer here:

How can I check if two lines (created with function love.graphics.line) are crossing themselves? I may use this ability to create procedural maps via graphs.

\$\endgroup\$

marked as duplicate by MrCranky, concept3d, msell, MichaelHouse Jan 22 '14 at 15:08

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

  • \$\begingroup\$ This question does not appear to be about game development within the scope defined in the help center. See gamedev.stackexchange.com/questions/63295/… \$\endgroup\$ – MrCranky Jan 22 '14 at 12:49
  • \$\begingroup\$ @MrCranky I think this is not directly game dev related. But line intersection is a common geometry problem. To some extent we accept graphics, geometry, math and physics questions. meta.gamedev.stackexchange.com/questions/1419/… \$\endgroup\$ – concept3d Jan 22 '14 at 12:57
  • \$\begingroup\$ I was going on the basis that we closed an almost identical line-intersection problem (the one I linked to) as off-topic, including a comment suggesting it was better served on math.stackexchange. Even if it's on topic, it's most certainly a duplicate. \$\endgroup\$ – MrCranky Jan 22 '14 at 13:07
  • \$\begingroup\$ I agree it's a duplicate. \$\endgroup\$ – concept3d Jan 22 '14 at 13:15
  • 1
    \$\begingroup\$ This page lists code snippets for Love2D on general math functions such as finding the point of intersection between two lines: love2d.org/wiki/General_math \$\endgroup\$ – congusbongus Jan 23 '14 at 0:08

Browse other questions tagged or ask your own question.