mirror of
https://github.com/ocornut/imgui.git
synced 2024-11-12 02:00:58 +01:00
Updated Tips (markdown)
parent
f7a723f665
commit
86d2b7be69
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
|
||||
|
||||
![footsteps](https://cloud.githubusercontent.com/assets/8225057/8634511/66076f8e-27b8-11e5-9964-202bf4305802.PNG)
|
||||
|
||||
----
|
||||
|
||||
**Tip: use c++11 lambas with Combo/ListBox/Plot functions**
|
||||
|
||||
```cpp
|
||||
|
Loading…
Reference in New Issue
Block a user