Browse Source

modelupdate

seba 13 years ago
parent
commit
fc21a5ca38
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      models/model.cpp

+ 1
- 1
models/model.cpp View File

@@ -34,7 +34,7 @@ void ModelObject::render() {
34 34
 // 		return;
35 35
 // 	}
36 36
 // 	mat.diffuse.print(mat.name);
37
-	glBegin(GL_LINES);
37
+	glBegin(GL_TRIANGLES);
38 38
 		for(unsigned int i=0; i<polygon.size(); i++) {
39 39
 
40 40
 			glColorGLC(mat.diffuse);

Loading…
Cancel
Save