summaryrefslogtreecommitdiffstats
path: root/src/common
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2018-04-20 05:01:50 +0200
committerLioncash <mathew1800@gmail.com>2018-04-20 16:14:13 +0200
commitfae2dd034462c5a6b086e46b3437ea6e2456d5eb (patch)
tree3a53e7b4786e4712874d63a2a1cecc6755475051 /src/common
parentMerge pull request #356 from lioncash/shader (diff)
downloadyuzu-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.h5
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;