mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-10-17 06:19:19 +02:00
feat(ui): imgui 1.91.9b-docking in place of 1.73: local changes of the backends carried over (glad as the gl loader, srgb and gamma of the ui, gles glsl string), BufferingBar/Spinner kept, imgui_tables in cmake; cursor position, cursor enter and focus of the main window passed to the glfw backend, which works with events now; code adapted to the api: ImGuiListClipper::Begin, BeginListBox, ImTextureID as an integer, ImageButton with an id, ImGuiKey without GetKeyIndex, logarithmic sliders in place of the removed power argument; ImGuizmo with the math operators defined before imgui.h and SetNextFrameWantCaptureMouse
This commit is contained in:
@@ -1399,7 +1399,7 @@ void editor_orthophoto::draw(glm::mat4 const &ViewProjection, glm::dvec3 const &
|
||||
float const segmentsize = 1.0f / static_cast<float>(segments);
|
||||
auto const height_at = [&](float U, float V) { return draped ? sample_heights(t.heights, U, V) + lift : flat; };
|
||||
|
||||
drawlist->PushTextureID(reinterpret_cast<ImTextureID>(textureid));
|
||||
drawlist->PushTextureID((ImTextureID)(intptr_t)(textureid));
|
||||
for (int j = 0; j < segments; ++j)
|
||||
for (int i = 0; i < segments; ++i)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user