From 86d2b7be69116d40f451c0e8711c9e5e7ddfe800 Mon Sep 17 00:00:00 2001 From: omar Date: Sun, 15 Nov 2015 22:50:01 +0100 Subject: [PATCH] Updated Tips (markdown) --- Tips.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Tips.md b/Tips.md index 474d09b..952b312 100644 --- a/Tips.md +++ b/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**
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