summaryrefslogtreecommitdiffstats
path: root/src/math/Rect.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/math/Rect.h14
1 files changed, 2 insertions, 12 deletions
diff --git a/src/math/Rect.h b/src/math/Rect.h
index 326bb479..fa8d8de4 100644
--- a/src/math/Rect.h
+++ b/src/math/Rect.h
@@ -8,18 +8,8 @@ public:
float right; // x max
float top; // y min
- CRect(void){
- left = 1000000.0f;
- top = 1000000.0f;
- right = -1000000.0f;
- bottom = -1000000.0f;
- }
- CRect(float l, float t, float r, float b){
- left = l;
- top = t;
- right = r;
- bottom = b;
- }
+ CRect(void);
+ CRect(float l, float t, float r, float b);
void ContainPoint(CVector const &v){
if(v.x < left) left = v.x;
if(v.x > right) right = v.x;