Color constants static init
john-chapman opened this issue · 0 comments
john-chapman commented
- Color constants are static init inside im3d.cpp, this causes issues e.g. when declaring a static array of Im3d::Color in another translation unit.
- Solution is to mark these as constexpr, requires Color ctors to also be marked as constexpr.