Fix switching windows
This commit is contained in:
@@ -150,7 +150,7 @@ Int SafeDivide(Int a, Int b) {
|
||||
return a / b;
|
||||
}
|
||||
|
||||
bool CheckCollisionPointRec(Vec2I point, Rect2I rec) {
|
||||
bool AreOverlapping(Vec2I point, Rect2I rec) {
|
||||
bool result = (point.x >= rec.min.x) && (point.x < rec.max.x) && (point.y >= rec.min.y) && (point.y < rec.max.y);
|
||||
return result;
|
||||
}
|
||||
Reference in New Issue
Block a user