diff options
author | Lioncash <mathew1800@gmail.com> | 2018-04-20 05:01:50 +0200 |
---|---|---|
committer | Lioncash <mathew1800@gmail.com> | 2018-04-20 16:14:13 +0200 |
commit | fae2dd034462c5a6b086e46b3437ea6e2456d5eb (patch) | |
tree | 3a53e7b4786e4712874d63a2a1cecc6755475051 /src/common | |
parent | Merge pull request #356 from lioncash/shader (diff) | |
download | yuzu-fae2dd034462c5a6b086e46b3437ea6e2456d5eb.tar yuzu-fae2dd034462c5a6b086e46b3437ea6e2456d5eb.tar.gz yuzu-fae2dd034462c5a6b086e46b3437ea6e2456d5eb.tar.bz2 yuzu-fae2dd034462c5a6b086e46b3437ea6e2456d5eb.tar.lz yuzu-fae2dd034462c5a6b086e46b3437ea6e2456d5eb.tar.xz yuzu-fae2dd034462c5a6b086e46b3437ea6e2456d5eb.tar.zst yuzu-fae2dd034462c5a6b086e46b3437ea6e2456d5eb.zip |
Diffstat (limited to 'src/common')
-rw-r--r-- | src/common/math_util.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/common/math_util.h b/src/common/math_util.h index 45a1ed367..c6a83c953 100644 --- a/src/common/math_util.h +++ b/src/common/math_util.h @@ -17,11 +17,6 @@ inline bool IntervalsIntersect(unsigned start0, unsigned length0, unsigned start return (std::max(start0, start1) < std::min(start0 + length0, start1 + length1)); } -template <typename T> -inline T Clamp(const T val, const T& min, const T& max) { - return std::max(min, std::min(max, val)); -} - template <class T> struct Rectangle { T left; |