Rename variables to avoid shadowing in user_objects.cc

PiperOrigin-RevId: 780137314
Change-Id: Ife5abd0ecc3851837a7aef7048efe80dbdfcf60e
This commit is contained in:
Yuval Tassa
2025-07-07 09:13:51 -07:00
committed by Copybara-Service
parent e01c4b454a
commit 7a09145161
2 changed files with 15 additions and 15 deletions
+4 -4
View File
@@ -1593,10 +1593,10 @@ class mjCTendon : public mjCTendon_, private mjsTendon {
void del_material() { material_.clear(); }
// API for adding wrapping objects
void WrapSite(std::string name, std::string_view info = ""); // site
void WrapGeom(std::string name, std::string side, std::string_view info = ""); // geom
void WrapJoint(std::string name, double coef, std::string_view info = ""); // joint
void WrapPulley(double divisor, std::string_view info = ""); // pulley
void WrapSite(std::string wrapname, std::string_view wrapinfo = ""); // site
void WrapGeom(std::string wrapname, std::string side, std::string_view wrapinfo = ""); // geom
void WrapJoint(std::string wrapname, double coef, std::string_view wrapinfo = ""); // joint
void WrapPulley(double divisor, std::string_view wrapinfo = ""); // pulley
// API for access to wrapping objects
int NumWraps() const; // number of wraps