Include some headers for brushbsp branch files (#325)

* include <vector> for std::vector definition

* include <algorithm> for std::clamp definition
This commit is contained in:
xDShot 2022-02-19 21:17:20 +03:00 committed by GitHub
parent 2a257693c6
commit 5780ce4bd6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 1 deletions

View File

@ -23,6 +23,7 @@
#include <filesystem>
#include <optional>
#include <vector>
namespace fs
{

View File

@ -27,6 +27,7 @@
#include <array>
#include <utility>
#include <string>
#include <algorithm>
using std::max, std::min, std::clamp;
@ -103,4 +104,4 @@ template<typename T, typename F>
constexpr T mix(const T &a, const T &b, F frac)
{
return (a * (static_cast<F>(1.0) - frac)) + (b * frac);
}
}