aboutsummaryrefslogtreecommitdiff
path: root/include/common.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/common.h')
-rw-r--r--include/common.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/include/common.h b/include/common.h
new file mode 100644
index 0000000..3fb4f6f
--- /dev/null
+++ b/include/common.h
@@ -0,0 +1,9 @@
+#ifndef MGUI_COMMON_H
+#define MGUI_COMMON_H
+
+#include <mgl/system/vec.h>
+#include <stdbool.h>
+
+bool mgui_rectangle_contains(mgl_vec2f rectangle_pos, mgl_vec2f rectangle_size, mgl_vec2f point);
+
+#endif /* MGUI_COMMON_H */