From 244abc777a15641054fb0e6736c6a969f632c474 Mon Sep 17 00:00:00 2001 From: themancalledjakob Date: Fri, 7 Apr 2023 09:50:04 +0200 Subject: [PATCH] less couts --- src/Atlas.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/Atlas.cpp b/src/Atlas.cpp index 392914f..c56e343 100644 --- a/src/Atlas.cpp +++ b/src/Atlas.cpp @@ -54,13 +54,11 @@ void Atlas::setup(string _fontPath){ << "\tmax:" << axis.maxValue << "\t:default:" << axis.defaultValue << endl; variationAxesAvailable.push_back(axis); - cout << __LINE__ << endl; addVariations({ {axis.name, axis.minValue}, {axis.name, axis.maxValue} //{axis.name, axis.defaultValue} }); - cout << __LINE__ << endl; } ofLogNotice("Atlas::setup()") << "retrieved variation axes"; }else{ @@ -107,7 +105,6 @@ void Atlas::addVariations(vector variations){ const FontVariation & a = variationExtremes[i]; const FontVariation & b = variationExtremes[i + 1]; float diff = b.value - a.value; - cout << __LINE__ << endl; int stepAmount = ceil(diff / settings.maxInterpolationStepSize); float step = diff / stepAmount; float value = a.value + step;