Updated meshoptimizer.

This commit is contained in:
Бранимир Караџић 2024-06-15 10:29:43 -07:00
parent 961bbfa295
commit ee481af66c
1 changed files with 1 additions and 1 deletions

View File

@ -1310,7 +1310,7 @@ static void fillCellQuadrics(Quadric* cell_quadrics, const unsigned int* indices
unsigned int c1 = vertex_cells[i1];
unsigned int c2 = vertex_cells[i2];
bool single_cell = (c0 == c1) & (c0 == c2);
int single_cell = (c0 == c1) & (c0 == c2);
Quadric Q;
quadricFromTriangle(Q, vertex_positions[i0], vertex_positions[i1], vertex_positions[i2], single_cell ? 3.f : 1.f);