It would be nice to be able to do Ogre::Vector3 math in a constexpr context, like
constexpr Vector3 half_map_size = map_size / 2;
For my set up (c++23 and gcc), the following already works.
constexpr Vector3 map_size = Vector3(10,10,10);
I would be interested in trying my hand at this, but I thought I suggest it first to measure interest; particularly for which C++ versions we need to support since the constexpr rules vary significantly by C++ version.
It would be nice to be able to do
Ogre::Vector3math in aconstexprcontext, likeFor my set up (c++23 and gcc), the following already works.
I would be interested in trying my hand at this, but I thought I suggest it first to measure interest; particularly for which C++ versions we need to support since the
constexprrules vary significantly by C++ version.