mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-29 16:54:35 +00:00
Add ImVec2 operator-.
This commit is contained in:
parent
11e9327e02
commit
3eb17e9969
@ -5,5 +5,6 @@
|
|||||||
#include "../imgui/imgui_internal.h"
|
#include "../imgui/imgui_internal.h"
|
||||||
|
|
||||||
ImVec2 operator+( const ImVec2& l, const ImVec2& r ) { return ImVec2( l.x + r.x, l.y + r.y ); }
|
ImVec2 operator+( const ImVec2& l, const ImVec2& r ) { return ImVec2( l.x + r.x, l.y + r.y ); }
|
||||||
|
ImVec2 operator-( const ImVec2& l, const ImVec2& r ) { return ImVec2( l.x - r.x, l.y - r.y ); }
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user