From 168066c01f73e3850f4b7d69c3a29e16a9a8e6ea Mon Sep 17 00:00:00 2001 From: Patrick Shriwise Date: Wed, 31 Oct 2018 15:43:16 -0500 Subject: [PATCH] Removing NULLRGB def. --- src/plot.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/plot.cpp b/src/plot.cpp index 99858811c..03a872d62 100644 --- a/src/plot.cpp +++ b/src/plot.cpp @@ -38,7 +38,6 @@ int n_plots; std::vector plots; const RGBColor WHITE = {255, 255, 255}; -const RGBColor NULLRGB = {0, 0, 0}; //============================================================================== // RUN_PLOT controls the logic for making one or many plots @@ -691,7 +690,7 @@ void position_rgb(Particle p, Plot pl, RGBColor& rgb, int& id) rgb = pl.colors_[p.coord[j].cell]; id = cells[p.coord[j].cell]->id_; } else { - rgb = NULLRGB; + rgb = RGBColor(); id = -1; }