| 372 | |
| 373 | template <typename DataType> |
| 374 | void Polygon<DataType>::scale(Vertex const& s, Vertex const& c) { |
| 375 | for (auto& v : m_vertexes) |
| 376 | v = vmult((v - c), s) + c; |
| 377 | } |
| 378 | |
| 379 | template <typename DataType> |
| 380 | void Polygon<DataType>::scale(DataType s, Vertex const& c) { |