We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a16b509 commit b95b23fCopy full SHA for b95b23f
implot.h
@@ -303,7 +303,7 @@ void SetColormap(ImPlotColormap colormap, int samples = 0);
303
void SetColormap(const ImVec4* colors, int num_colors);
304
// Returns the size of the current colormap
305
int GetColormapSize();
306
-// 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)
307
ImVec4 GetColormapColor(int index);
308
// Linearly interpolates a color from the current colormap given t between 0 and 1.
309
ImVec4 LerpColormap(float t);
0 commit comments