branch | pyrit |
changeset 72 | 7c3f38dff082 |
parent 69 | 303583d2fb97 |
child 80 | 907929fa9b59 |
--- a/ccdemos/common_ply.h Sat Apr 19 18:00:27 2008 +0200 +++ b/ccdemos/common_ply.h Sun Apr 20 16:48:24 2008 +0200 @@ -58,7 +58,7 @@ } f >> v1 >> v2 >> v3; face = new Triangle(vertices.at(v1), vertices.at(v3), vertices.at(v2), mat); - rt.addshape(face); + rt.addShape(face); normals.at(v1) += face->getNormal(); vertex_face_num.at(v1)++;