diff --git a/src/GPUFontAtlasLayerCombo.cpp b/src/GPUFontAtlasLayerCombo.cpp index f2226b6..d5a9058 100644 --- a/src/GPUFontAtlasLayerCombo.cpp +++ b/src/GPUFontAtlasLayerCombo.cpp @@ -49,20 +49,6 @@ void GPUFontAtlasLayerCombo::setup(const ComboIdentifier & identifier, cout << "Render type " << r->getType() << endl; } void GPUFontAtlasLayerCombo::update(){ - //float animationSpeed = 1.0; - //float threshold = 1.0; - //for(int i = 0; i < fontVariationAxes.size(); i++){ - //ofxGPUFont::Font::FontVariationAxis & axis = fontVariationAxes[i]; - //ofxGPUFont::Font::FontVariationAxisParameters & axisParams = fontVariationAxesParameters[i]; - //double newValue = ofMap(sin(ofGetElapsedTimef() * animationSpeed), - //-1, 1, - //axisParams.minValue, axisParams.maxValue); - //if(abs(newValue - axis.value) > threshold){ - //font->setFontVariationAxis(library, axis.name, newValue); - //axis.value = newValue; - //font->prepareGlyphsForText(mainText, true); - //} - //} for(const auto & layer : layers){ if(layer->isDirtyDirty()){ isDirty = true;