Improve documentation related to mjSpec element deletion.
PiperOrigin-RevId: 775677830 Change-Id: I02e51b57956b0b6a20c654326b54e001b498dd96
This commit is contained in:
committed by
Copybara-Service
parent
d0faa3624e
commit
18d5d5d03f
@@ -1438,7 +1438,7 @@ MJAPI mjsLight* mjs_addLight(mjsBody* body, const mjsDefault* def);
|
||||
// Add frame to body.
|
||||
MJAPI mjsFrame* mjs_addFrame(mjsBody* body, mjsFrame* parentframe);
|
||||
|
||||
// Detach but not delete object corresponding to the given element, return 0 on success.
|
||||
// Remove object corresponding to the given element, return 0 on success.
|
||||
MJAPI int mjs_delete(mjSpec* spec, mjsElement* element);
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user