| 33 | } |
| 34 | |
| 35 | Sprite::Sprite(const std::string& id) |
| 36 | : Selectable(false) |
| 37 | , Component(id) |
| 38 | { |
| 39 | this->setTexture(NullTexture); |
| 40 | |
| 41 | for (Transform::Referential& ref : Transform::Referential::Referentials) |
| 42 | { |
| 43 | m_handlePoints.emplace_back(*this, ref); |
| 44 | } |
| 45 | m_handlePoints.emplace_back(*this); |
| 46 | m_positionTransformer = PositionTransformer("Camera", "Camera"); |
| 47 | } |
| 48 | |
| 49 | void Sprite::useTextureSize() |
| 50 | { |
nothing calls this directly
no test coverage detected