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

Author Topic: [IDEA] Move sf::Rect into System Module?  (Read 9741 times)

0 Members and 1 Guest are viewing this topic.

Klaim

  • Full Member
  • ***
  • Posts: 137
    • View Profile
[IDEA] Move sf::Rect into System Module?
« Reply #15 on: August 23, 2011, 07:32:26 pm »
Why not move those parts in a little "sfml-math" or "sfml-geometry" library?

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32498
    • View Profile
    • SFML's website
    • Email
[IDEA] Move sf::Rect into System Module?
« Reply #16 on: August 23, 2011, 08:00:18 pm »
Quote
Why not move those parts in a little "sfml-math" or "sfml-geometry" library?

I don't think it is necessary. The module would be ridiculously small and not useful taken alone. SFML is not about maths, so it defines only what it needs.
Laurent Gomila - SFML developer

Silvah

  • Guest
[IDEA] Move sf::Rect into System Module?
« Reply #17 on: August 24, 2011, 03:30:04 pm »
Quote from: "Laurent"
Rect cannot be rendered but it stores 2D coordinates, which makes no sense in windowing/networking/audio.
Ahem, really? :D

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32498
    • View Profile
    • SFML's website
    • Email
[IDEA] Move sf::Rect into System Module?
« Reply #18 on: August 24, 2011, 03:38:02 pm »
Ok, it could make sense but it's not used in sfml-window :P
Laurent Gomila - SFML developer

panithadrum

  • Sr. Member
  • ****
  • Posts: 304
    • View Profile
    • Skyrpex@Github
    • Email
[IDEA] Move sf::Rect into System Module?
« Reply #19 on: August 25, 2011, 03:36:46 pm »
I also think that rect is better suited in the system module  :lol:

 

anything