tracy/server/TracyImGui.hpp

11 lines
321 B
C++
Raw Normal View History

2017-09-17 22:18:36 +00:00
#ifndef __TRACYIMGUI_HPP__
#define __TRACYIMGUI_HPP__
#include "../imgui/imgui.h"
#include "../imgui/imgui_internal.h"
ImVec2 operator+( const ImVec2& l, const ImVec2& r ) { return ImVec2( l.x + r.x, l.y + r.y ); }
2017-09-18 00:16:35 +00:00
ImVec2 operator-( const ImVec2& l, const ImVec2& r ) { return ImVec2( l.x - r.x, l.y - r.y ); }
2017-09-17 22:18:36 +00:00
#endif