From 32317145166988e5f9c65395bfc027aa2d32ed0e Mon Sep 17 00:00:00 2001 From: Stijn Buys Date: Thu, 31 Jul 2008 13:24:30 +0000 Subject: fix debug messages --- src/model/map.cc | 10 ++-------- src/model/model.cc | 5 ++--- 2 files changed, 4 insertions(+), 11 deletions(-) (limited to 'src') diff --git a/src/model/map.cc b/src/model/map.cc index 7495edb..377ed0d 100644 --- a/src/model/map.cc +++ b/src/model/map.cc @@ -523,9 +523,6 @@ void Map::make_brushface(Plane *face) } } - // split off quads - con_debug << " * face with " << vl.size() << " vertices" << std::endl; - while (vl.size() > 3) { std::vector::iterator v0 = vl.begin(); std::vector::reverse_iterator vn = vl.rbegin(); @@ -543,7 +540,6 @@ void Map::make_brushface(Plane *face) delete(*vn1); vl.pop_back(); vl.pop_back(); - con_debug << " culled quad, " << vl.size() << " vertices left" << std::endl; } // the remainder could be a triangle @@ -559,7 +555,6 @@ void Map::make_brushface(Plane *face) primitives->add_triangle(*(*vn1), *(*vn), *(*v0), n, color, face->detail()); delete(*vn); vl.pop_back(); - con_debug << " culled tris, " << vl.size() << " vertices left" << std::endl; } } else { con_debug << "Unresolved face!\n"; @@ -926,10 +921,9 @@ Model * Map::load(std::string const &name) mapfile.load_fragments(model); - con_debug << " " << mapfile.name() << " " << + con_debug << " " << mapfile.name() << " " << model->fragments().size() << " frags " << model->model_tris_count << "/" << model->model_tris_detail_count << " tris/detail " << - model->model_quad_count << "/" << model->model_quad_detail_count << " quads/detail " << - model->fragments().size() << " frags " <model_quad_count << "/" << model->model_quad_detail_count << " quads/detail" << std::endl; mapfile.clear_materials(); diff --git a/src/model/model.cc b/src/model/model.cc index 979b79a..101895b 100644 --- a/src/model/model.cc +++ b/src/model/model.cc @@ -106,10 +106,9 @@ void Model::clear() void Model::list_model(Model *model) { - con_print << " " << model->name() << " " << + con_print << " " << model->name() << " " << model->fragments().size() << " frags " << model->model_tris_count << "/" << model->model_tris_detail_count << " tris/detail " << - model->model_quad_count << "/" << model->model_quad_detail_count << " quads/detail " - << model->fragments().size() << " frags "<< std::endl; + model->model_quad_count << "/" << model->model_quad_detail_count << " quads/detail" << std::endl; } void Model::list() -- cgit v1.2.3