Welcome, Guest. Please login or register. Did you miss your activation email?

Author Topic: sf::Shape::AddPoint(...) is awkward.  (Read 21574 times)

0 Members and 1 Guest are viewing this topic.

nitram_cero

  • Full Member
  • ***
  • Posts: 166
    • View Profile
sf::Shape::AddPoint(...) is awkward.
« 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

 

anything