Move a bunch of math to cpp files + small fixes

This commit is contained in:
Sergeanur
2020-09-14 20:48:49 +03:00
parent 93d77f340d
commit 38ec1bd50d
14 changed files with 857 additions and 529 deletions

17
src/math/Rect.cpp Normal file
View File

@@ -0,0 +1,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;
}