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

Author Topic: A new name for RenderTarget::convertCoords  (Read 8893 times)

0 Members and 1 Guest are viewing this topic.

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32504
    • View Profile
    • SFML's website
    • Email
Re: A new name for RenderTarget::convertCoords
« Reply #15 on: November 05, 2012, 03:11:45 pm »
"Base" is really vague, I don't think it is explicit enough.
Laurent Gomila - SFML developer

Hiura

  • SFML Team
  • Hero Member
  • *****
  • Posts: 4321
    • View Profile
    • Email
Re: A new name for RenderTarget::convertCoords
« Reply #16 on: November 05, 2012, 03:14:03 pm »
Yeah, you're probably right. Good names are hard to find ! ^^
SFML / OS X developer

FRex

  • Hero Member
  • *****
  • Posts: 1845
  • Back to C++ gamedev with SFML in May 2023
    • View Profile
    • Email
Re: A new name for RenderTarget::convertCoords
« Reply #17 on: November 05, 2012, 07:14:53 pm »
Quote
Maybe pixelsToUnits and unitsToPixels?
Quote
So... it could be:
convertCoordsToPixel
convertPixelToCoords

"Coords" is a little vague, maybe we could use "Unit" instead.
Yaaaaaaaaaay... ;D
Back to C++ gamedev with SFML in May 2023

Plaid Phantom

  • Newbie
  • *
  • Posts: 10
    • View Profile
Re: A new name for RenderTarget::convertCoords
« Reply #18 on: December 16, 2012, 08:19:32 am »
Just noticed this thread. The decision may have been made, but what about targetToGlobalCoords/globalCoordsToTarget? "global" should be obvious enough for a C++ programmer.

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32504
    • View Profile
    • SFML's website
    • Email
Re: A new name for RenderTarget::convertCoords
« Reply #19 on: December 16, 2012, 09:57:59 am »
Yep, it's already changed, no need to submit new ideas ;)
Laurent Gomila - SFML developer