Bump up the line width to make it easier to see the blobs.

This commit is contained in:
Andrzej Kapolka 2013-08-27 17:00:55 -07:00
parent 4d9954b2f4
commit e5e2f7ca00

View file

@ -142,10 +142,12 @@ void Webcam::renderPreview(int screenWidth, int screenHeight) {
glEnd();
glColor3f(0.0f, 1.0f, 0.0f);
glLineWidth(3.0f);
for (KeyPointVector::iterator it = _keyPoints.begin(); it != _keyPoints.end(); it++) {
renderCircle(glm::vec3(left + it->pt.x * xScale, top + it->pt.y * yScale, 0.0f),
it->size * 0.5f, glm::vec3(0.0f, 0.0f, 1.0f), 8);
}
glLineWidth(1.0f);
const int MAX_FPS_CHARACTERS = 30;
char fps[MAX_FPS_CHARACTERS];