This commit is contained in:
aozhiwei 2023-02-08 16:04:51 +08:00
parent da949c09be
commit 23e3e21202

View File

@ -70,6 +70,9 @@ namespace mc
mesh.triangles.push_back(trig_xobj->At(i)->AsXValue().GetDouble());
}
}
if (mesh.triangles.size() % 3 != 0) {
abort();
}
Bounds_Read(mesh.bounds, xobj->At("mesh")->At("bounds"));
}