| 136 | } |
| 137 | |
| 138 | void Primitive::Clear() { |
| 139 | m_vertices.clear(); |
| 140 | m_textures.clear(); |
| 141 | m_indices.clear(); |
| 142 | |
| 143 | m_position = sf::Vector2f( 0.f, 0.f ); |
| 144 | m_layer = 0; |
| 145 | m_level = 0; |
| 146 | m_synced = false; |
| 147 | m_visible = true; |
| 148 | |
| 149 | m_viewport = Renderer::Get().GetDefaultViewport(); |
| 150 | m_custom_draw_callback.reset(); |
| 151 | } |
| 152 | |
| 153 | } |
nothing calls this directly
no test coverage detected