diff --git a/3d-viewer/3d_rendering/3d_render_raytracing/shapes2D/croundsegment2d.h b/3d-viewer/3d_rendering/3d_render_raytracing/shapes2D/croundsegment2d.h index 0169323c4e..6cd60a0d53 100644 --- a/3d-viewer/3d_rendering/3d_render_raytracing/shapes2D/croundsegment2d.h +++ b/3d-viewer/3d_rendering/3d_render_raytracing/shapes2D/croundsegment2d.h @@ -85,7 +85,7 @@ public: bool IsPointInside( const SFVEC2F &aPoint ) const override; }; -static const float s_min_dot = (FLT_EPSILON * 4.0f) ; +static const float s_min_dot = (FLT_EPSILON * 4.0f * FLT_EPSILON * 4.0f) ; /** * @brief Segment_is_a_circle - check if segment start and end is very close to each other