summaryrefslogblamecommitdiffstats
path: root/src/math/Rect.cpp
blob: de6320adcf8b0eb5a620aca51d00bb2a8a1f5f49 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
















                                                
#include "common.h"

CRect::CRect(void)
{
	left = 1000000.0f;
	top = 1000000.0f;
	right = -1000000.0f;
	bottom = -1000000.0f;
}

CRect::CRect(float l, float t, float r, float b)
{
	left = l;
	top = t;
	right = r;
	bottom = b;
}