equal
deleted
inserted
replaced
107 |
107 |
108 vector<ShapeBound>::iterator edge, splitedge = edges[0].end(); |
108 vector<ShapeBound>::iterator edge, splitedge = edges[0].end(); |
109 int axis = 0; |
109 int axis = 0; |
110 for (int ax = 0; ax < 3; ax++) |
110 for (int ax = 0; ax < 3; ax++) |
111 { |
111 { |
112 int lnum = 0, rnum = shapes->size(); |
112 int lnum = 0, rnum = (int)shapes->size(); |
113 BBox lbb = bounds; |
113 BBox lbb = bounds; |
114 BBox rbb = bounds; |
114 BBox rbb = bounds; |
115 for (edge = edges[ax].begin(); edge != edges[ax].end(); edge++) |
115 for (edge = edges[ax].begin(); edge != edges[ax].end(); edge++) |
116 { |
116 { |
117 if (edge->end) |
117 if (edge->end) |