#pragma once

// Renders a heatmap using ImPlot.
// Data is row-major: values[row * cols + col].
// Call within an ImGui frame.
void heatmap(const char* title, const float* values, int rows, int cols,
             float scale_min = 0.0f, float scale_max = 0.0f);
void heatmap(const char* title, const double* values, int rows, int cols,
             double scale_min = 0.0, double scale_max = 0.0);
