I'm writing code to check if polygons intersect, but I've ran into a problem. I have two "vectors." Each has an origin and x and y components. They are facing towards each other. I need to write code that determines if there's a perpendicular axis that separates them. Here's a picture of what I mean: http://upurs.us/image/15257.jpeg I'm out of ideas. Any help would be greatly appreciated.