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

Author Topic: Changing PrimitiveType naming to match GL.  (Read 2833 times)

0 Members and 1 Guest are viewing this topic.

Verra

  • Newbie
  • *
  • Posts: 23
    • View Profile
Changing PrimitiveType naming to match GL.
« on: August 10, 2015, 08:00:12 am »
Although this isn't exactly a feature it was recommend I should post it here. Currently the names of some of the PrimitiveTypes are weird. i.e) LinesStrip, TrianglesStrip, TrianglesFan. The "feature request" is to change them to LineStrip, TriangleStrip, TriangleFan which matches the internal GL naming. The patch is already finished and in my fork.

It seems it can't be included in any 2.x version of sfml, for fear of it breaking code. However binary1248 suggested that we could include them alongside the original naming, and mark the others as "deprecated". So that it can be temporarily included.

P.S. I'm not a triangles fan. I actually like the dodgers.

Tank

  • SFML Team
  • Hero Member
  • *****
  • Posts: 1486
    • View Profile
    • Blog
    • Email
Re: Changing PrimitiveType naming to match GL.
« Reply #1 on: August 10, 2015, 08:15:54 am »
+1 for name change, +1 for deprecation approach. :)