15 static constexpr int size = 2;
18 template <std::same_as<
float>>
22 [[nodiscard]]
static auto&&
getElem(
int i, U&& value )
26 return ( &value.x )[i];
34 static constexpr int size = 4;
37 template <std::same_as<
float>>
41 [[nodiscard]]
static auto&&
getElem(
int i, U&& value )
45 return ( &value.x )[i];
Definition MRCameraOrientationPlugin.h:8
ImVec2 ChangeBaseType
Definition MRViewer/MRVectorTraits.h:19
static auto && getElem(int i, U &&value)
Definition MRViewer/MRVectorTraits.h:22
float BaseType
Definition MRViewer/MRVectorTraits.h:14
static auto && getElem(int i, U &&value)
Definition MRViewer/MRVectorTraits.h:41
float BaseType
Definition MRViewer/MRVectorTraits.h:33
ImVec4 ChangeBaseType
Definition MRViewer/MRVectorTraits.h:38
Definition MRMesh/MRVectorTraits.h:14
static constexpr int size
Definition MRMesh/MRVectorTraits.h:18