| 3199 | } |
| 3200 | |
| 3201 | void PopColormap(int count) { |
| 3202 | ImPlot3DContext& gp = *GImPlot3D; |
| 3203 | IM_ASSERT_USER_ERROR(count <= gp.ColormapModifiers.Size, "You can't pop more modifiers than have been pushed!"); |
| 3204 | while (count > 0) { |
| 3205 | const ImPlot3DColormap& backup = gp.ColormapModifiers.back(); |
| 3206 | gp.Style.Colormap = backup; |
| 3207 | gp.ColormapModifiers.pop_back(); |
| 3208 | count--; |
| 3209 | } |
| 3210 | } |
| 3211 | |
| 3212 | ImU32 NextColormapColorU32() { |
| 3213 | ImPlot3DContext& gp = *GImPlot3D; |
no outgoing calls
no test coverage detected