worked on 3D model stuff

minor changes
This commit is contained in:
2018-02-12 16:57:08 +01:00
parent 2a923dfabc
commit 42a3a47317
3 changed files with 164 additions and 12 deletions

View File

@@ -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() {