Skip to content

Commit

Permalink
Merge branch 'max_contacts_ode' into max_contacts_ode_2
Browse files Browse the repository at this point in the history
  • Loading branch information
iche033 committed Jan 18, 2024
2 parents 20ccc51 + 89d6347 commit 6e57e47
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions include/gz/physics/World.hh
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,8 @@ namespace gz
class GZ_PHYSICS_VISIBLE CollisionPairMaxContacts:
public virtual Feature
{
/// \brief The World API for getting and setting max contacts.
/// \brief The World API for getting and setting the maximum
/// number of contacts between two entities.
public: template <typename PolicyT, typename FeaturesT>
class World : public virtual Feature::World<PolicyT, FeaturesT>
{
Expand All @@ -143,7 +144,7 @@ namespace gz
/// \param[in] _maxContacts Maximum number of contacts.
public: void SetCollisionPairMaxContacts(std::size_t _maxContacts);

/// \brief Set the maximum number of contacts allowed between two
/// \brief Get the maximum number of contacts allowed between two
/// entities.
/// \return Maximum number of contacts.
public: std::size_t GetCollisionPairMaxContacts() const;
Expand All @@ -163,7 +164,7 @@ namespace gz
/// \brief Implementation API for getting the maximum number of
/// contacts between two entities.
/// \param[in] _id Identity of the world.
/// \param[in] _maxContacts Maximum number of contacts.
/// \return Maximum number of contacts.
public: virtual std::size_t GetWorldCollisionPairMaxContacts(
const Identity &_id) const = 0;
};
Expand Down

0 comments on commit 6e57e47

Please sign in to comment.