diff options
author | Nikolay Korolev <nickvnuk@gmail.com> | 2020-09-26 12:28:33 +0200 |
---|---|---|
committer | Nikolay Korolev <nickvnuk@gmail.com> | 2020-09-26 12:28:33 +0200 |
commit | eefb0c817f1c86cb24d3a730da848e1f98277948 (patch) | |
tree | d4872bafd56e69213a6e973ac539c01942042a01 /src/math/Rect.cpp | |
parent | Merge remote-tracking branch 'upstream/master' (diff) | |
parent | Fix MASTER build with glfw (diff) | |
download | re3-eefb0c817f1c86cb24d3a730da848e1f98277948.tar re3-eefb0c817f1c86cb24d3a730da848e1f98277948.tar.gz re3-eefb0c817f1c86cb24d3a730da848e1f98277948.tar.bz2 re3-eefb0c817f1c86cb24d3a730da848e1f98277948.tar.lz re3-eefb0c817f1c86cb24d3a730da848e1f98277948.tar.xz re3-eefb0c817f1c86cb24d3a730da848e1f98277948.tar.zst re3-eefb0c817f1c86cb24d3a730da848e1f98277948.zip |
Diffstat (limited to 'src/math/Rect.cpp')
-rw-r--r-- | src/math/Rect.cpp | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/src/math/Rect.cpp b/src/math/Rect.cpp new file mode 100644 index 00000000..de6320ad --- /dev/null +++ b/src/math/Rect.cpp @@ -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; +}
\ No newline at end of file |