initial import, >900commits predate this

This commit is contained in:
2020-09-29 13:47:50 +02:00
commit e74154ccee
352 changed files with 108120 additions and 0 deletions

19
external/imgui/imgui_plot_var.hpp vendored Normal file
View File

@ -0,0 +1,19 @@
#pragma once
#include "imgui/imgui.h"
// USAGE
// Call once a frame with current value
// ImGui::PlotVar("Speed", current_speed);
namespace ImGui {
// Plot value over time
// Pass FLT_MAX value to draw without adding a new value
void PlotVar(const char* label, float value, float scale_min = FLT_MAX, float scale_max = FLT_MAX, int buffer_size = 120);
// Call this periodically to discard old/unused data
void PlotVarFlushOldEntries();
}