Porting of ShowDemo_RealtimePlots over Java
Version
v1.86.11
What part of the binding has gaps?
ImPlot
What is missing?
Hello, I spent several hours on this already but I am failing at porting this real time plot demo. I wanna use it for profiling but both plotLine and plotShaded require arrays instead of floats so I am not entirely sure how to translate this. Also the C++ implementation uses negative infinity for ys which I am not sure how to do that with arrays.
Maybe implement those two functions with floats as alternative? Because clearly the original can do that.
https://github.com/epezent/implot/blob/dea3387cdcc1d6a7ee3607f8a37a9dce8a85224f/implot_demo.cpp#L716C9-L716C9
I tried something like this but it crashes https://pastebin.com/N59YhGWE
Maybe adding all those examples as well so we actually know how to write this in Java would be helpful