mcbastian / carve

Automatically exported from code.google.com/p/carve
Other
0 stars 0 forks source link

csg_triangulator.hpp compile error #18

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Line 161, function scoreQuad
      double scoreQuad(edge_map_t::iterator i, edge_map_t &edge_map) {
        if (!(*i).second.first || !(*i).second.second) return -1;
      }
basically it should return something on either paths.
the result is using to select best edge candidate.

Original issue reported on code.google.com by a.yudint...@gmail.com on 28 May 2010 at 1:52

GoogleCodeExporter commented 8 years ago
Shows up, when compiling with Intel Compiler 8.1

Original comment by a.yudint...@gmail.com on 28 May 2010 at 1:58

GoogleCodeExporter commented 8 years ago
The quadrilateral merging code is incomplete, and is not used within Carve at 
this point. I'll commit a fix that 
stops the compiler complaining, as a temporary solution.

Original comment by tobias.s...@gmail.com on 1 Jun 2010 at 3:31