| 115 | } |
| 116 | |
| 117 | void scale(VectorType const& s, VectorType const& c = VectorType()) { |
| 118 | m_min = vmult(m_min - c, s) + c; |
| 119 | m_max = vmult(m_max - c, s) + c; |
| 120 | } |
| 121 | |
| 122 | void scale(T s, VectorType const& c = VectorType()) { |
| 123 | scale(VectorType::filled(s), c); |