mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-10-20 15:21:21 -06:00
Reduction on compiler warnings, mainly on MSVC.
Fix of the new gap_fill_enable flag: Take it into account when comparing regions.
This commit is contained in:
parent
2964421618
commit
db2d78ff21
21 changed files with 61 additions and 44 deletions
|
@ -12,7 +12,7 @@ TEST_CASE("Overhanging point should be supported", "[SupGen]") {
|
|||
|
||||
// Pyramid with 45 deg slope
|
||||
TriangleMesh mesh = make_pyramid(10.f, 10.f);
|
||||
mesh.rotate_y(PI);
|
||||
mesh.rotate_y(float(PI));
|
||||
mesh.require_shared_vertices();
|
||||
mesh.WriteOBJFile("Pyramid.obj");
|
||||
|
||||
|
@ -81,7 +81,7 @@ TEST_CASE("Overhanging edge should be supported", "[SupGen]") {
|
|||
float width = 10.f, depth = 10.f, height = 5.f;
|
||||
|
||||
TriangleMesh mesh = make_prism(width, depth, height);
|
||||
mesh.rotate_y(PI); // rotate on its back
|
||||
mesh.rotate_y(float(PI)); // rotate on its back
|
||||
mesh.translate(0., 0., height);
|
||||
mesh.require_shared_vertices();
|
||||
mesh.WriteOBJFile("Prism.obj");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue