Replace PointToLocal with operator overload in mjCDef.

PiperOrigin-RevId: 609376948
Change-Id: Id69909d06ab48824a9cbe0d5a305e8f8b72a193d
This commit is contained in:
Alessio Quaglino
2024-02-22 08:11:46 -08:00
committed by Copybara-Service
parent cf7bd77cd3
commit 0ae9ba37f9
5 changed files with 39 additions and 13 deletions
+5 -3
View File
@@ -1394,9 +1394,11 @@ class mjCDef {
friend class mjXWriter;
public:
mjCDef(void); // constructor
void Compile(const mjCModel* model); // compiler
void PointToLocal();
mjCDef(void); // constructor
mjCDef(const mjCDef& other); // copy constructor
void Compile(const mjCModel* model); // compiler
mjCDef& operator=(const mjCDef& other); // copy assignment
void PointToLocal(void);
// identifiers
std::string name; // class name