| 890 | |
| 891 | template <typename T, size_t N> |
| 892 | Vector<T, N> vmax(Vector<T, N> const& a, Vector<T, N> const& b) { |
| 893 | return a.piecewiseMax(b); |
| 894 | } |
| 895 | |
| 896 | template <typename T, size_t N> |
| 897 | Vector<T, N> vclamp(Vector<T, N> const& a, Vector<T, N> const& min, Vector<T, N> const& max) { |