0 Members and 2 Guests are viewing this topic.
Why no hexagon, pentagon, octagon, ...? There has to be a limit And, as highlighted in the tutorial, regular polygons can be obtained easily with sf::CircleShape:https://www.sfml-dev.org/tutorials/2.5/graphics-shape.php#built-in-shape-typesNot that triangles can also be constructed with a sf::VertexArray of type "Triangles". This is lower level and will offer better performances.