Port HandleInput: pan, rotate drag, wheel/middle zoom, double-click fit, axis/plane hover+drag, rotation animation, context click
This commit is contained in:
1 parent
2c766ce984
commit
5d446a205f
2 files changed
+252
-7
No files matched your search
@@ -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")
|
||||
|
||||
Reference in new issue
Block a user