Skip to content

Commit 783b68b

Browse files
committed
fix: RayContact getDetectionOutputs should not be doGet
1 parent 6e12447 commit 783b68b

File tree

1 file changed

+5
-5
lines changed
  • Sofa/Component/Collision/Response/Contact/src/sofa/component/collision/response/contact

1 file changed

+5
-5
lines changed

Sofa/Component/Collision/Response/Contact/src/sofa/component/collision/response/contact/RayContact.h

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,11 @@ class SOFA_COMPONENT_COLLISION_RESPONSE_CONTACT_API BaseRayContact : public core
3636
public:
3737
typedef collision::geometry::RayCollisionModel CollisionModel1;
3838

39+
const sofa::type::vector<core::collision::DetectionOutput*>& getDetectionOutputs() const
40+
{
41+
return collisions;
42+
}
43+
3944
protected:
4045
CollisionModel1* model1;
4146
sofa::type::vector<core::collision::DetectionOutput*> collisions;
@@ -45,11 +50,6 @@ class SOFA_COMPONENT_COLLISION_RESPONSE_CONTACT_API BaseRayContact : public core
4550

4651
~BaseRayContact() override;
4752

48-
const sofa::type::vector<core::collision::DetectionOutput*>& doGetDetectionOutputs() const
49-
{
50-
return collisions;
51-
}
52-
5353
void doCreateResponse(core::objectmodel::BaseContext* /*group*/) override
5454
{
5555
}

0 commit comments

Comments
 (0)