I am trying to detect whether the mouse (using mouseX and mouseY) is within a "certain area".
This "certain area" is a quad(), shaped like a prism.
I have managed to detect whether the mouse is within a rect() (a square in this case) but have no idea how to detect whether it is in a quad.
Many thanks in advance to any and all tips/ pointers/ help.
Sam