little cleanup
This commit is contained in:
parent
65ca48275c
commit
d78c341871
1 changed files with 0 additions and 14 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue