SFML community forums

General => Feature requests => Topic started by: nitram_cero on December 07, 2008, 01:19:46 pm

Title: sf::Shape::AddPoint(...) is awkward.
Post by: nitram_cero on December 07, 2008, 01:19:46 pm
Code: [Select]
   void AddPoint(float X, float Y, const Color& Col = Color(255, 255, 255), const Color& OutlineCol = Color(0, 0, 0));

For outline-only shapes, it's awkward to have a default black color.

Shape::SetColor over the default black doesn't show anything, and can be frustrating to figure out why as it breaks some of SFML's easyness :D.
Maybe even more to the ones that don't know how OpenGL colouring works.

It's trivial, I know. Don't put much mind into it :P ... I just wanted a second opinion.

Best regards
-Martín