diff options
author | salaaad2 <arthurdurant263@gmail.com> | 2022-06-09 22:20:41 +0200 |
---|---|---|
committer | salaaad2 <arthurdurant263@gmail.com> | 2022-06-09 22:20:41 +0200 |
commit | c846a79a6c6911fb4771a619e205674f59e973b0 (patch) | |
tree | 542d4b861b5eb21c99244c24718c48623f578b72 /src/rfps_utils.cpp | |
parent | my bad lol (diff) | |
download | yabs-c846a79a6c6911fb4771a619e205674f59e973b0.tar.gz yabs-c846a79a6c6911fb4771a619e205674f59e973b0.tar.bz2 yabs-c846a79a6c6911fb4771a619e205674f59e973b0.tar.xz yabs-c846a79a6c6911fb4771a619e205674f59e973b0.tar.zst yabs-c846a79a6c6911fb4771a619e205674f59e973b0.zip |
structure, namespaces, cool stuff overall
Diffstat (limited to 'src/rfps_utils.cpp')
-rw-r--r-- | src/rfps_utils.cpp | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/src/rfps_utils.cpp b/src/rfps_utils.cpp deleted file mode 100644 index c595a21..0000000 --- a/src/rfps_utils.cpp +++ /dev/null @@ -1,16 +0,0 @@ -#include "rfps_utils.h" - -namespace utils { -// unused, for now :^} -int min(const int& v1, const int& v2) { - return v1 >= v2 ? v2 : v1; -} - -int max(const int& v1, const int& v2) { - return v1 >= v2 ? v1 : v2; -} - -int clamp(const int& v, const int& v1, const int& v2) { - return v >= v1 ? (v <= v2 ? v : v2) : v1; -} -} // namespace utils |