Minor bits.

This commit is contained in:
ocornut
2016-07-16 10:46:51 +02:00
parent bbd3b75609
commit 91e1c56da6
3 changed files with 3 additions and 5 deletions

View File

@@ -784,7 +784,7 @@ void ImGui::ShowTestWindow(bool* p_open)
struct Funcs
{
static float Sin(void*, int i) { return sinf(i * 0.1f); }
static float Saw(void*, int i) { return (i & 1) ? 1.0f : 0.0f; }
static float Saw(void*, int i) { return (i & 1) ? 1.0f : -1.0f; }
};
static int func_type = 0, display_count = 70;
ImGui::Separator();