aboutsummaryrefslogtreecommitdiff
path: root/src/math_util.hpp
diff options
context:
space:
mode:
authorcrupest <crupest@outlook.com>2018-12-08 22:51:48 +0800
committercrupest <crupest@outlook.com>2018-12-08 22:51:48 +0800
commit3ec1e536bd0ced5abcf82e84d1eee42960912b37 (patch)
treef2a283d4932f593fe32c2384d6ee86e6c5d8a5b4 /src/math_util.hpp
parentb028e74a48de181ca078ad3bf4ababf4fa146cd3 (diff)
downloadcru-3ec1e536bd0ced5abcf82e84d1eee42960912b37.tar.gz
cru-3ec1e536bd0ced5abcf82e84d1eee42960912b37.tar.bz2
cru-3ec1e536bd0ced5abcf82e84d1eee42960912b37.zip
Add single render objects.
Diffstat (limited to 'src/math_util.hpp')
-rw-r--r--src/math_util.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/math_util.hpp b/src/math_util.hpp
index b9830d6b..8f0741b8 100644
--- a/src/math_util.hpp
+++ b/src/math_util.hpp
@@ -9,7 +9,7 @@
namespace cru
{
- template <typename T, typename = std::enable_if_t<std::is_arithmetic_v<T>>>
+ template <typename T, typename = std::enable_if_t<std::is_arithmetic_v<T>>>
float Coerce(const T n, const std::optional<T> min, const std::optional<T> max)
{
if (min.has_value() && n < min.value())