   Segment vs Segment Intersection or Segment vs AABB HELP
  I'm losing my mind here. I'm working on a segment to AABB intersection script. This has cost me 12 hours of my life I can never have back. The Line segment verse Line segment, I've been using apparently only works under certain conditions and to be frank, I don't even want to fix it.Your prolly thinking, oh just google it, or use the gamedev search function. All I can find is C++ ones which for the life of me I cannot translate to C#, or understand(I've even sought help in the IRC). Also I want to understand how it works so the simpler the concept the better.Any help would be appreciated before I throw my computer out my window.   
  I converted some of the intersection methods from the FreeMagic library to C# some time ago.Line vs. AABB (2D)Line vs. AABB (3D)Line vs. Line (2D)There are a bunch more, including ray vs. AABB, line and plane and segment vs AABB: directory listing;  Thank you soo much. Those are very nice concise examples.   