pixelshift: simplified and increased readability of code
This commit is contained in:
@@ -74,19 +74,6 @@ inline const _Tp& max(const _Tp& a, const _Tp& b, const _Tp& c, const _Tp& d)
|
||||
return std::max(d, std::max(c, std::max(a, b)));
|
||||
}
|
||||
|
||||
template<typename _Tp>
|
||||
inline const _Tp& max(const _Tp& a, const _Tp& b, const _Tp& c, const _Tp& d, const _Tp& e)
|
||||
{
|
||||
return max(max(a,b,c),std::max(d,e));
|
||||
}
|
||||
|
||||
template<typename _Tp>
|
||||
inline const _Tp& max(const _Tp& a, const _Tp& b, const _Tp& c, const _Tp& d, const _Tp& e, const _Tp& f, const _Tp& g)
|
||||
{
|
||||
return max(max(a,b,c,d),max(e,f,g));
|
||||
}
|
||||
|
||||
|
||||
template<typename _Tp>
|
||||
inline _Tp intp(_Tp a, _Tp b, _Tp c)
|
||||
{
|
||||
|
Reference in New Issue
Block a user