diff options
Diffstat (limited to 'Runtime/Math')
-rw-r--r-- | Runtime/Math/Math.h | 4 | ||||
-rw-r--r-- | Runtime/Math/Rect.h | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/Runtime/Math/Math.h b/Runtime/Math/Math.h index 370b91c..7f61544 100644 --- a/Runtime/Math/Math.h +++ b/Runtime/Math/Math.h @@ -5,3 +5,7 @@ #include "Vector4.h" #include "Matrix44.h" #include "FloatConversion.h" +#include "Rect.h" + +#define max(a, b)\ +(a)>(b)?(a):(b) diff --git a/Runtime/Math/Rect.h b/Runtime/Math/Rect.h index 80170d6..8e7dae6 100644 --- a/Runtime/Math/Rect.h +++ b/Runtime/Math/Rect.h @@ -4,6 +4,6 @@ namespace Internal { struct Rect { - int x, y, width, height; + float x, y, width, height; }; }
\ No newline at end of file |