This can't be std::optional<Var>, because we still need the variant to know the correct type.
More...
#include <MRObjectComparableWithReference.h>
Public Types | |
| using | Var = std::variant<float, Vector3f> |
Public Attributes | |
| bool | isSet = false |
| Var | var |
If isSet == false, this will hold zeroes, or some other default values. | |
This can't be std::optional<Var>, because we still need the variant to know the correct type.