Updated Tips (markdown)

omar 2015-11-15 22:50:01 +01:00
parent f7a723f665
commit 86d2b7be69

@ -14,6 +14,8 @@ ImGui::SetScrollFromPosY(ImGui::GetCursorStartPos().y + (goto_addr / Rows) * lin
ImGui::End(); ImGui::End();
``` ```
----
**Tip: use Stride for easily plotting a field in array of structures**<br> **Tip: use Stride for easily plotting a field in array of structures**<br>
https://github.com/ocornut/imgui/issues/271 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) ![footsteps](https://cloud.githubusercontent.com/assets/8225057/8634511/66076f8e-27b8-11e5-9964-202bf4305802.PNG)
----
**Tip: use c++11 lambas with Combo/ListBox/Plot functions** **Tip: use c++11 lambas with Combo/ListBox/Plot functions**
```cpp ```cpp