Searched refs:region_sz (Results 1 - 1 of 1) sorted by relevance

/xsrc/external/mit/MesaLib.old/dist/src/imgui/
H A Dimgui_demo.cpp738 float region_sz = 32.0f; local in function:ShowDemoWindowWidgets
739 float region_x = io.MousePos.x - pos.x - region_sz * 0.5f; if (region_x < 0.0f) region_x = 0.0f; else if (region_x > my_tex_w - region_sz) region_x = my_tex_w - region_sz;
740 float region_y = io.MousePos.y - pos.y - region_sz * 0.5f; if (region_y < 0.0f) region_y = 0.0f; else if (region_y > my_tex_h - region_sz) region_y = my_tex_h - region_sz;
743 ImGui::Text("Max: (%.2f, %.2f)", region_x + region_sz, region_y + region_sz);
745 ImVec2 uv1 = ImVec2((region_x + region_sz) / my_tex_
[all...]

Completed in 4 milliseconds