| 3185 | } |
| 3186 | |
| 3187 | void PushColormap(ImPlot3DColormap colormap) { |
| 3188 | ImPlot3DContext& gp = *GImPlot3D; |
| 3189 | IM_ASSERT_USER_ERROR(colormap >= 0 && colormap < gp.ColormapData.Count, "The colormap index is invalid!"); |
| 3190 | gp.ColormapModifiers.push_back(gp.Style.Colormap); |
| 3191 | gp.Style.Colormap = colormap; |
| 3192 | } |
| 3193 | |
| 3194 | void PushColormap(const char* name) { |
| 3195 | ImPlot3DContext& gp = *GImPlot3D; |
no test coverage detected