///////////////////////////////////////////////////////
| 116 | |
| 117 | //////////////////////////////////////////////////////////// |
| 118 | void Sprite::draw(RenderTarget& target, RenderStates states) const |
| 119 | { |
| 120 | states.transform *= getTransform(); |
| 121 | states.texture = m_texture; |
| 122 | states.coordinateType = CoordinateType::Pixels; |
| 123 | |
| 124 | target.draw(m_vertices.data(), m_vertices.size(), PrimitiveType::TriangleStrip, states); |
| 125 | } |
| 126 | |
| 127 | |
| 128 | //////////////////////////////////////////////////////////// |
nothing calls this directly
no outgoing calls
no test coverage detected