| 211 | } |
| 212 | |
| 213 | template <class T> Transform::UnitVector Shape<T>::getPoint(std::size_t index) const |
| 214 | { |
| 215 | const sf::Vector2f pointPosition |
| 216 | = static_cast<const T&>(*this).shape.getPoint(index); |
| 217 | return Transform::UnitVector( |
| 218 | pointPosition.x, pointPosition.y, Transform::Units::ScenePixels); |
| 219 | } |
| 220 | |
| 221 | template <class T> Transform::Rect Shape<T>::getLocalBounds() const |
| 222 | { |
no test coverage detected