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

Author Topic: Drawable::Flip / Negative scale  (Read 2853 times)

0 Members and 1 Guest are viewing this topic.

gsaurus

  • Sr. Member
  • ****
  • Posts: 262
    • View Profile
    • Evolution Engine
Drawable::Flip / Negative scale
« on: July 10, 2011, 11:46:42 am »
Laurent, have you found why you restricted scaling to positive values already?

Code: [Select]
if (factor > 0)
could have been:
Code: [Select]
if (factor != 0)
That or FlipX/FlipY methods on sf::Drawable

Sorry to ask again but passed a long time :wink:
Pluma - Plug-in Management Framework

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32498
    • View Profile
    • SFML's website
    • Email
Drawable::Flip / Negative scale
« Reply #1 on: July 10, 2011, 12:47:13 pm »
This restriction will be removed soon.
Laurent Gomila - SFML developer

 

anything