1
This commit is contained in:
parent
da949c09be
commit
23e3e21202
@ -70,6 +70,9 @@ namespace mc
|
|||||||
mesh.triangles.push_back(trig_xobj->At(i)->AsXValue().GetDouble());
|
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"));
|
Bounds_Read(mesh.bounds, xobj->At("mesh")->At("bounds"));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user