mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-07-12 13:31:50 +00:00
Fix issue that Geometry::deg2rad() do calculation in the same type as the parameter, which means if the parameter is int then you lose all the precision
This commit is contained in:
@@ -2399,7 +2399,7 @@ private:
|
||||
return line.distance(p);
|
||||
}
|
||||
};
|
||||
const double TriangleCursor::facet_angle_limit = cos(Geometry::deg2rad(5));
|
||||
const double TriangleCursor::facet_angle_limit = cos(Geometry::deg2rad(5.0));
|
||||
|
||||
|
||||
// Remap painting data from source mesh to target mesh using spatial mapping.
|
||||
|
||||
Reference in New Issue
Block a user