Replace PointToLocal with operator overload in mjCDef.
PiperOrigin-RevId: 609376948 Change-Id: Id69909d06ab48824a9cbe0d5a305e8f8b72a193d
This commit is contained in:
committed by
Copybara-Service
parent
cf7bd77cd3
commit
0ae9ba37f9
@@ -405,7 +405,6 @@ int mjm_getId(mjElement element) {
|
||||
void mjm_setDefault(mjElement element, mjmDefault* defspec) {
|
||||
mjCBase* baseC = reinterpret_cast<mjCBase*>(element);
|
||||
baseC->def = reinterpret_cast<mjCDef*>(defspec->element);
|
||||
baseC->def->PointToLocal();
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user