mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-14 04:01:48 +00:00
11 lines
349 B
C++
11 lines
349 B
C++
#ifndef __TRACYIMGUI_HPP__
|
|
#define __TRACYIMGUI_HPP__
|
|
|
|
#include "../imgui/imgui.h"
|
|
#include "../imgui/imgui_internal.h"
|
|
|
|
static inline ImVec2 operator+( const ImVec2& l, const ImVec2& r ) { return ImVec2( l.x + r.x, l.y + r.y ); }
|
|
static inline ImVec2 operator-( const ImVec2& l, const ImVec2& r ) { return ImVec2( l.x - r.x, l.y - r.y ); }
|
|
|
|
#endif
|