mirror of
https://git.mirrors.martin98.com/https://github.com/prusa3d/PrusaSlicer.git
synced 2025-08-16 02:35:54 +08:00
fix compile time warning (truncating double to float)
This commit is contained in:
parent
732586de7c
commit
f3d0e3c399
@ -128,7 +128,7 @@ public:
|
||||
|
||||
// arm length used during angles computation
|
||||
static constexpr float polygon_local_angles_arm_distance = 0.3f;
|
||||
static constexpr float sharp_angle_snapping_threshold = 0.3 * PI;
|
||||
static constexpr float sharp_angle_snapping_threshold = 0.3f * float(PI);
|
||||
|
||||
// max tolerable distance from the previous layer is overhang_distance_tolerance_factor * flow_width
|
||||
static constexpr float overhang_distance_tolerance_factor = 0.5f;
|
||||
|
Loading…
x
Reference in New Issue
Block a user