This commit is contained in:
Oscar
2025-07-17 13:52:06 +03:00
commit 2f50c8a911
206 changed files with 246874 additions and 0 deletions

View File

@@ -0,0 +1,9 @@
#pragma once
#include <algorithm>
namespace Math {
template <typename T>
T clamp(T value, T min, T max) {
return std::min(std::max(value, min), max);
}
}