// Tip: If your float aren't contiguous but part of a structure, you can pass a pointer to your first float and the sizeof() of your structure in the Stride parameter.
// Tip: If your float aren't contiguous but part of a structure, you can pass a pointer to your first float and the sizeof() of your structure in the Stride parameter.
staticfloatvalues[90]={0};
staticfloatvalues[90]={0};
staticintvalues_offset=0;
staticintvalues_offset=0;
if (animate)
static floatrefresh_time=0.0f;
{
if(!animate||refresh_time==0.0f)
staticfloatrefresh_time=ImGui::GetTime();// Create dummy data at fixed 60 hz rate for the demo