MeshLib C++ Docs
Loading...
Searching...
No Matches
MR::VectorTraits< ImVec2 > Struct Reference

#include <MRVectorTraits.h>

Public Types

using BaseType = float
 
template<std::same_as< float > >
using ChangeBaseType = ImVec2
 Can't change the element type...
 

Static Public Member Functions

template<typename U >
static auto && getElem (int i, U &&value)
 
template<typename U = ImVec2>
static constexpr U diagonal (float v)
 Adding a template parameter to avoid including the whole imgui.h.
 

Static Public Attributes

static constexpr int size = 2
 

The documentation for this struct was generated from the following file: