mirror of
https://github.com/ocornut/imgui.git
synced 2026-03-30 21:05:54 -05:00
Updated Tips (markdown)
4
Tips.md
4
Tips.md
@@ -14,6 +14,8 @@ ImGui::SetScrollFromPosY(ImGui::GetCursorStartPos().y + (goto_addr / Rows) * lin
|
||||
ImGui::End();
|
||||
```
|
||||
|
||||
----
|
||||
|
||||
**Tip: use Stride for easily plotting a field in array of structures**<br>
|
||||
https://github.com/ocornut/imgui/issues/271
|
||||
|
||||
@@ -30,6 +32,8 @@ ImGui::PlotLines("LeftToeBase y", &all_sampled_joints[skel.getBoneIndex("LeftToe
|
||||
|
||||

|
||||
|
||||
----
|
||||
|
||||
**Tip: use c++11 lambas with Combo/ListBox/Plot functions**
|
||||
|
||||
```cpp
|
||||
|
||||
Reference in New Issue
Block a user