summaryrefslogtreecommitdiffstats
path: root/src/core/Range2D.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/core/Range2D.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/core/Range2D.h b/src/core/Range2D.h
new file mode 100644
index 00000000..f239e7de
--- /dev/null
+++ b/src/core/Range2D.h
@@ -0,0 +1,11 @@
+#pragma once
+
+class CRange2D
+{
+ CVector2D min, max;
+public:
+ CRange2D(CVector2D _min, CVector2D _max);
+ bool IsInRange(CVector2D vec);
+ void DebugShowRange(float, int);
+ CVector2D GetRandomPointInRange();
+}; \ No newline at end of file