Skip to content

Commit 0490a69

Browse files
bakpaulalxbilger
authored andcommitted
Update Sofa/Component/Collision/Detection/Intersection/src/sofa/component/collision/detection/intersection/CCDTightInclusionIntersection.cpp
Co-authored-by: Alex Bilger <alxbilger@users.noreply.github.com>
1 parent 58370ca commit 0490a69

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Sofa/Component/Collision/Detection/Intersection/src/sofa/component/collision/detection/intersection/CCDTightInclusionIntersection.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ CCDTightInclusionIntersection::CCDTightInclusionIntersection()
6262
: BaseProximityIntersection()
6363
, d_continuousCollisionType(initData(&d_continuousCollisionType, helper::OptionsGroup({"None", "Inertia", "FreeMotion"}).setSelectedItem(0), "continuousCollisionType",
6464
"Data used for continuous collision detection taken into {'None','Inertia','FreeMotion'}. If 'None' then no CCD is used, if 'Inertia' then only inertia will be used to compute the collision detection and if 'FreeMotion' then the free motion will be used. Note that if 'FreeMotion' is selected, you cannot use the option 'parallelCollisionDetectionAndFreeMotion' in the FreeMotionAnimationLoop"))
65-
, d_tolerance(initData(&d_tolerance,static_cast<SReal>(1e-10),"tolerance","tolerance used by the tight inclusion CCD algorithm"))
65+
, d_tolerance(initData(&d_tolerance, 1e-10_sreal,"tolerance","tolerance used by the tight inclusion CCD algorithm"))
6666
, d_maxIterations(initData(&d_maxIterations,(long) 1000,"maxIterations","maxIterations used by the tight inclusion CCD algorithm"))
6767
{
6868

0 commit comments

Comments
 (0)