I\'m currently trying to understand per pixel collision detection.
This is the code I don\'t understand:
static bool IntersectPixels(Rectangle rectan
for (int y = top; y < bottom; y++) loops over the lines of the resulting rectangle from top to bottom, and for (int x = left; x < right; x++) loops over pixels inside each line, left to right.
for (int y = top; y < bottom; y++)
for (int x = left; x < right; x++)