Replace mjCModel with mjmModel in mjXBase.
PiperOrigin-RevId: 611762880 Change-Id: I22254689b6cbf10fe7b61f9742b6ffd6c2074477
This commit is contained in:
committed by
Copybara-Service
parent
419be4c605
commit
1bd44e73bb
@@ -175,6 +175,13 @@ mjCModel::mjCModel() {
|
||||
|
||||
|
||||
|
||||
mjCModel::mjCModel(const mjCModel& other) {
|
||||
*this = other;
|
||||
PointToLocal();
|
||||
}
|
||||
|
||||
|
||||
|
||||
void mjCModel::PointToLocal() {
|
||||
spec.element = (mjElement)this;
|
||||
spec.comment = (mjString)&spec_comment_;
|
||||
@@ -504,8 +511,8 @@ int mjCModel::GetFixed(void) {
|
||||
|
||||
|
||||
|
||||
// copy of error object
|
||||
mjCError mjCModel::GetError(void) {
|
||||
// get reference of error object
|
||||
const mjCError& mjCModel::GetError(void) {
|
||||
return errInfo;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user