From 5780ce4bd67b32e088e49ae0664f058f2f08e60d Mon Sep 17 00:00:00 2001 From: xDShot Date: Sat, 19 Feb 2022 21:17:20 +0300 Subject: [PATCH] Include some headers for brushbsp branch files (#325) * include for std::vector definition * include for std::clamp definition --- include/common/fs.hh | 1 + include/common/mathlib.hh | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/include/common/fs.hh b/include/common/fs.hh index 293b19ff..bc358afd 100644 --- a/include/common/fs.hh +++ b/include/common/fs.hh @@ -23,6 +23,7 @@ #include #include +#include namespace fs { diff --git a/include/common/mathlib.hh b/include/common/mathlib.hh index eb1fde8e..54e0f3a1 100644 --- a/include/common/mathlib.hh +++ b/include/common/mathlib.hh @@ -27,6 +27,7 @@ #include #include #include +#include using std::max, std::min, std::clamp; @@ -103,4 +104,4 @@ template constexpr T mix(const T &a, const T &b, F frac) { return (a * (static_cast(1.0) - frac)) + (b * frac); -} \ No newline at end of file +}