| 88 | } |
| 89 | |
| 90 | sf::FloatRect ComplexSprite::getLocalBounds() const |
| 91 | { |
| 92 | float width = static_cast<float>(abs(m_textureRect.width)); |
| 93 | float height = static_cast<float>(abs(m_textureRect.height)); |
| 94 | |
| 95 | return sf::FloatRect(0.f, 0.f, width, height); |
| 96 | } |
| 97 | |
| 98 | sf::FloatRect ComplexSprite::getGlobalBounds() const |
| 99 | { |