diff options
author | Lioncash <mathew1800@gmail.com> | 2018-11-21 07:55:06 +0100 |
---|---|---|
committer | Lioncash <mathew1800@gmail.com> | 2018-11-21 08:08:15 +0100 |
commit | 74fd0aa2e8b41d2ec130b06478fe011117fdbae8 (patch) | |
tree | 6cc3cff45c3767243d0dcbe0317c09bc7551d9e5 /src | |
parent | Merge pull request #1751 from bunnei/color-mask-fix (diff) | |
download | yuzu-74fd0aa2e8b41d2ec130b06478fe011117fdbae8.tar yuzu-74fd0aa2e8b41d2ec130b06478fe011117fdbae8.tar.gz yuzu-74fd0aa2e8b41d2ec130b06478fe011117fdbae8.tar.bz2 yuzu-74fd0aa2e8b41d2ec130b06478fe011117fdbae8.tar.lz yuzu-74fd0aa2e8b41d2ec130b06478fe011117fdbae8.tar.xz yuzu-74fd0aa2e8b41d2ec130b06478fe011117fdbae8.tar.zst yuzu-74fd0aa2e8b41d2ec130b06478fe011117fdbae8.zip |
Diffstat (limited to 'src')
-rw-r--r-- | src/common/math_util.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/common/math_util.h b/src/common/math_util.h index 343cdd902..b553d47dd 100644 --- a/src/common/math_util.h +++ b/src/common/math_util.h @@ -4,7 +4,6 @@ #pragma once -#include <algorithm> #include <cstdlib> #include <type_traits> @@ -12,11 +11,6 @@ namespace MathUtil { static constexpr float PI = 3.14159265f; -inline bool IntervalsIntersect(unsigned start0, unsigned length0, unsigned start1, - unsigned length1) { - return (std::max(start0, start1) < std::min(start0 + length0, start1 + length1)); -} - template <class T> struct Rectangle { T left{}; |