Open antongit opened 2 years ago
@antongit I've just added the Line
, the other primitives should be doable the same way. See also my comments in code, there's some room for thought regarding the coordinate system one would assume when drawing and also how effective we can apply a transformation. But when we think about modifying the render matrix directly we'll also need to take other rendering backends like Stride into account.
@azeno I'm getting an Exception (.5 related not ImGui). The patch was working, I've saved it under another name. Exception came. I've restarted VL, still exception. The Patch is attached.
TODO:
ImDrawFlags
, when Ctrl+J will work againSegment
tagwrap_width
: https://github.com/ocornut/imgui/blob/cb48c81a448aa0a4867e327c0a045a708ff3842e/imgui.h#L2549ImTextureID
https://github.com/ocornut/imgui/blob/cb48c81a448aa0a4867e327c0a045a708ff3842e/imgui.h#L2555@azeno I'm getting an Exception (.5 related not ImGui). The patch was working, I've saved it under another name.
Culprit is the apostrophe in the name. Upcoming versions will fix this.
https://github.com/ocornut/imgui/blob/cb48c81a448aa0a4867e327c0a045a708ff3842e/imgui.h#L2529