comment/remove debug drawings
This commit is contained in:
parent
20c00d064e
commit
6d24ca935f
1 changed files with 14 additions and 22 deletions
|
@ -300,31 +300,23 @@ void GPUFontAtlasLayerCombo::draw(){
|
||||||
}
|
}
|
||||||
|
|
||||||
glUseProgram(currentProgram);
|
glUseProgram(currentProgram);
|
||||||
ofPushStyle();
|
//ofPushStyle();
|
||||||
ofSetColor(ofColor::white);
|
//ofSetColor(ofColor::white);
|
||||||
for(const auto & b : outerBoundingBoxes){
|
//for(const auto & b : outerBoundingBoxes){
|
||||||
int i = 0;
|
//int i = 0;
|
||||||
for(const auto & v : b.getVertices()){
|
//for(const auto & v : b.getVertices()){
|
||||||
ofSetColor(b.getColors()[i]);
|
//ofSetColor(b.getColors()[i]);
|
||||||
ofDrawCircle(v, 2);
|
//ofDrawCircle(v, 2);
|
||||||
ofDrawBitmapString(ofToString(i), 0, 0);
|
//ofDrawBitmapString(ofToString(i), 0, 0);
|
||||||
i++;
|
//i++;
|
||||||
}
|
//}
|
||||||
b.drawVertices();
|
//b.drawVertices();
|
||||||
}
|
//}
|
||||||
ofFill();
|
//ofFill();
|
||||||
ofPopStyle();
|
//ofPopStyle();
|
||||||
}
|
}
|
||||||
|
|
||||||
glDisable(GL_BLEND);
|
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,
|
void GPUFontAtlasLayerCombo::getAndApplyTransformOrigin(glm::vec4 & transformOrigin,
|
||||||
|
|
Loading…
Reference in a new issue