src/polygoncache.cpp

changeset 205
1a4342d80de7
parent 200
ca23936b455b
child 210
232e7634cc8a
equal deleted inserted replaced
204:52e10e8d88cc 205:1a4342d80de7
59 } 59 }
60 if (needInverting != ref.inverted) 60 if (needInverting != ref.inverted)
61 { 61 {
62 gl::invert(polygon); 62 gl::invert(polygon);
63 } 63 }
64 if (polygon.color == ldraw::MAIN_COLOR) 64 if (polygon.color == MAIN_COLOR)
65 { 65 {
66 polygon.color = ref.color; 66 polygon.color = ref.color;
67 } 67 }
68 polygon.id = id; 68 polygon.id = id;
69 result.push_back(polygon); 69 result.push_back(polygon);

mercurial