MCPcopy Create free account
hub / github.com/KebsCS/KBotExt / operator*

Function operator*

KBotExt/imgui/imgui.h:2425–2426  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2423#ifdef IMGUI_DEFINE_MATH_OPERATORS
2424#define IMGUI_DEFINE_MATH_OPERATORS_IMPLEMENTED
2425IM_MSVC_RUNTIME_CHECKS_OFF
2426static inline ImVec2 operator*(const ImVec2& lhs, const float rhs) { return ImVec2(lhs.x * rhs, lhs.y * rhs); }
2427static inline ImVec2 operator/(const ImVec2& lhs, const float rhs) { return ImVec2(lhs.x / rhs, lhs.y / rhs); }
2428static inline ImVec2 operator+(const ImVec2& lhs, const ImVec2& rhs) { return ImVec2(lhs.x + rhs.x, lhs.y + rhs.y); }
2429static inline ImVec2 operator-(const ImVec2& lhs, const ImVec2& rhs) { return ImVec2(lhs.x - rhs.x, lhs.y - rhs.y); }

Callers

nothing calls this directly

Calls 2

ImVec2Function · 0.85
ImVec4Class · 0.85

Tested by

no test coverage detected