worked on 3D model stuff
minor changes
This commit is contained in:
@@ -1,8 +1,6 @@
|
||||
#ifndef STATS_HISTOGRAM_H
|
||||
#define STATS_HISTOGRAM_H
|
||||
|
||||
#define WITH_DEBUG_PLOT
|
||||
|
||||
#ifdef WITH_DEBUG_PLOT
|
||||
#include <KLib/misc/gnuplot/Gnuplot.h>
|
||||
#include <KLib/misc/gnuplot/GnuplotPlot.h>
|
||||
@@ -49,7 +47,9 @@ namespace Stats {
|
||||
const int idx = binIdx(x);
|
||||
counts.at(idx) += 1;
|
||||
++cnt;
|
||||
if (cnt % 200 == 0) {showPlot();}
|
||||
#ifdef WITH_DEBUG_PLOT
|
||||
if (cnt % 200 == 0) {showPlot();}
|
||||
#endif
|
||||
}
|
||||
|
||||
void clear() {
|
||||
|
||||
Reference in New Issue
Block a user