From b95b23fec80dfe547da8905b570a9db30becf904 Mon Sep 17 00:00:00 2001 From: Evan Pezent Date: Fri, 12 Jun 2020 20:00:22 -0500 Subject: [PATCH] Update implot.h --- implot.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/implot.h b/implot.h index f58b318..58a5e74 100644 --- a/implot.h +++ b/implot.h @@ -303,7 +303,7 @@ void SetColormap(ImPlotColormap colormap, int samples = 0); void SetColormap(const ImVec4* colors, int num_colors); // Returns the size of the current colormap int GetColormapSize(); -// Returns a color from the Color map given an index > 0 (modulo will be performed) +// Returns a color from the Color map given an index >= 0 (modulo will be performed) ImVec4 GetColormapColor(int index); // Linearly interpolates a color from the current colormap given t between 0 and 1. ImVec4 LerpColormap(float t);