sfml draw line

Solutions on MaxInterview for sfml draw line by the best coders in the world

showing results for - "sfml draw line"
Ariana
25 Mar 2019
1sf::Vertex line[] =
2{
3    sf::Vertex(sf::Vector2f(10, 10)),
4    sf::Vertex(sf::Vector2f(150, 150))
5};
6
7window.draw(line, 2, sf::Lines);