model repariert *hust*

This commit is contained in:
seba 2008-04-14 23:38:31 +02:00
parent 06b187e8a1
commit 35034e61aa
1 changed files with 5 additions and 5 deletions

View File

@ -29,11 +29,11 @@ void ModelObject::render() {
// std::cout << "render " << name << " mit " << polygon.size()<< std::endl; // std::cout << "render " << name << " mit " << polygon.size()<< std::endl;
// std::cout << "Vertex: " << vertex.size() << std::endl; // std::cout << "Vertex: " << vertex.size() << std::endl;
if(mat.name[0]=='g') { // if(mat.name[0]=='g') {
std::cout << "Render NOT: " << name << std::endl; // std::cout << "Render NOT: " << name << std::endl;
return; // return;
} // }
mat.diffuse.print(mat.name); // mat.diffuse.print(mat.name);
glBegin(GL_LINES); glBegin(GL_LINES);
for(unsigned int i=0; i<polygon.size(); i++) { for(unsigned int i=0; i<polygon.size(); i++) {