comment/remove debug drawings

This commit is contained in:
jrkb 2023-04-26 16:11:59 +02:00
parent 20c00d064e
commit 6d24ca935f

View file

@ -300,31 +300,23 @@ void GPUFontAtlasLayerCombo::draw(){
}
glUseProgram(currentProgram);
ofPushStyle();
ofSetColor(ofColor::white);
for(const auto & b : outerBoundingBoxes){
int i = 0;
for(const auto & v : b.getVertices()){
ofSetColor(b.getColors()[i]);
ofDrawCircle(v, 2);
ofDrawBitmapString(ofToString(i), 0, 0);
i++;
}
b.drawVertices();
}
ofFill();
ofPopStyle();
//ofPushStyle();
//ofSetColor(ofColor::white);
//for(const auto & b : outerBoundingBoxes){
//int i = 0;
//for(const auto & v : b.getVertices()){
//ofSetColor(b.getColors()[i]);
//ofDrawCircle(v, 2);
//ofDrawBitmapString(ofToString(i), 0, 0);
//i++;
//}
//b.drawVertices();
//}
//ofFill();
//ofPopStyle();
}
glDisable(GL_BLEND);
//ofDrawBitmapStringHighlight(
//"fps: " + ofToString(ofGetFrameRate()) + "\n"
//+ "font: " + this->identifier.fontPath + "\n"
//+ "lineHEight: " + ofToString(superLineHeight) + "\n"
//+ "antiAliasingWindowSize: " + ofToString(antiAliasingWindowSize) + "\n"
//+ "SSAA: " + (enableSuperSamplingAntiAliasing ? "on" : "off") + "\n"
//, 20, 20);
}
void GPUFontAtlasLayerCombo::getAndApplyTransformOrigin(glm::vec4 & transformOrigin,