We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
It checks if one or more corners of a rectangle defined by an x and y, as well as a width and height is overlapping with a second rectangle
bool overlap(x1, y1, w1, h1, // first rectangle x3, y3, x4, y4 // second rectangle )
if (overlap(0, 0, 3, 4, 2, 1, 3, 5)) { // Do something }
There was an error while loading. Please reload this page.