Fix issue with constant comparison raising warnings on MSVC for tautological comparison
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
// Generated by the DN single header generator 2026-09-29 22:28:12
|
||||
// Generated by the DN single header generator 2026-10-03 22:35:58
|
||||
|
||||
// DN: Single header generator commented out => #if defined(_CLANGD)
|
||||
// #define DN_WITH_TESTS 1
|
||||
@@ -8647,9 +8647,9 @@ DN_API bool DN_RectContainsRect(DN_Rect a, DN_Rect b)
|
||||
|
||||
DN_API DN_Rect DN_RectExpand(DN_Rect a, DN_F32 amount)
|
||||
{
|
||||
DN_Rect result = a;
|
||||
result.pos -= amount;
|
||||
result.size += (amount * 2.f);
|
||||
DN_Rect result = a;
|
||||
result.pos -= amount;
|
||||
result.size += (amount * 2.f);
|
||||
return result;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user