mirror of
https://github.com/Drezil/imgui.git
synced 2025-09-15 07:33:14 +02:00
ImRect: Removed misleading IsFinite() function used by some Nav code.
This commit is contained in:
@ -341,7 +341,6 @@ struct IMGUI_API ImRect
|
||||
void Floor() { Min.x = (float)(int)Min.x; Min.y = (float)(int)Min.y; Max.x = (float)(int)Max.x; Max.y = (float)(int)Max.y; }
|
||||
void FixInverted() { if (Min.x > Max.x) ImSwap(Min.x, Max.x); if (Min.y > Max.y) ImSwap(Min.y, Max.y); }
|
||||
bool IsInverted() const { return Min.x > Max.x || Min.y > Max.y; }
|
||||
bool IsFinite() const { return Min.x != FLT_MAX; }
|
||||
};
|
||||
|
||||
// Stacked color modifier, backup of modified data so we can restore it
|
||||
|
Reference in New Issue
Block a user