model repariert *hust*
This commit is contained in:
parent
06b187e8a1
commit
35034e61aa
|
@ -29,11 +29,11 @@ void ModelObject::render() {
|
|||
// std::cout << "render " << name << " mit " << polygon.size()<< std::endl;
|
||||
// std::cout << "Vertex: " << vertex.size() << std::endl;
|
||||
|
||||
if(mat.name[0]=='g') {
|
||||
std::cout << "Render NOT: " << name << std::endl;
|
||||
return;
|
||||
}
|
||||
mat.diffuse.print(mat.name);
|
||||
// if(mat.name[0]=='g') {
|
||||
// std::cout << "Render NOT: " << name << std::endl;
|
||||
// return;
|
||||
// }
|
||||
// mat.diffuse.print(mat.name);
|
||||
glBegin(GL_LINES);
|
||||
for(unsigned int i=0; i<polygon.size(); i++) {
|
||||
|
||||
|
|
Loading…
Reference in New Issue