raylib-cpp icon indicating copy to clipboard operation
raylib-cpp copied to clipboard

Reduction of the number of constructors

Open RobLoach opened this issue 1 year ago • 2 comments

RobLoach avatar Feb 10 '24 17:02 RobLoach

How about doing this for the Vector2, 3, 4 classes as well?

kyomawolf avatar Feb 10 '24 18:02 kyomawolf

yeah If we do take this approach, I'd like to do a few things...

  • Add more tests to make sure the constructors still work properly
  • Apply the same pattern across the rest of the data types

I do remember running into an issue with the initializer list understanding the default parameters, but I'm not sure where/when it happened.

RobLoach avatar Feb 11 '24 05:02 RobLoach