Port HandleInput: pan, rotate drag, wheel/middle zoom, double-click fit, axis/plane hover+drag, rotation animation, context click

This commit is contained in:
4DBug committed 2026-10-17 05:15:10 -05:00
1 parent df6f11a26f
commit 7725db2208
2 files changed
+252 -7

No files matched your search

+1
View File
@@ -67,6 +67,7 @@ plot.Axes[2].Flags = ImPlot3D.ImPlot3DAxisFlags.Invert
-- headless: stub SetupLock's drawing (rendering is covered by t_plot)
ImGui.GetWindowDrawList = function() return setmetatable({}, { __index = function() return function() end end }) end
ImGui.PushClipRect = function() end
ImPlot3D.internal.HandleInput = function() end -- input covered by t_input
I.RenderPlotBox = function() end
ImPlot3D.SetupLock()
assert(plot.SetupLocked and plot.Axes[0].Ticker:TickCount() > 0 and plot.Axes[0].Ticker:GetText(0) == "0.0")