We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0f69978 commit da5bd51Copy full SHA for da5bd51
imgui_extra_math.inl
@@ -34,6 +34,13 @@ inline ImVec2 operator*(const float lhs, const ImVec2& rhs)
34
return ImVec2(lhs * rhs.x, lhs * rhs.y);
35
}
36
37
+# if IMGUI_VERSION_NUM < 18955
38
+inline ImVec2 operator-(const ImVec2& lhs)
39
+{
40
+ return ImVec2(-lhs.x, -lhs.y);
41
+}
42
+# endif
43
+
44
//------------------------------------------------------------------------------
45
inline float ImLength(float v)
46
{
0 commit comments