Use templates and macros to reduce boilerplate.
PiperOrigin-RevId: 872805912 Change-Id: I6fc1abe283bc809a95d660abc072906b0810aaeb
This commit is contained in:
committed by
Copybara-Service
parent
a79747334b
commit
28ad603f6b
@@ -219,6 +219,6 @@ mjPLUGIN_LIB_INIT {
|
||||
plugin.update = [](mujoco::platform::GuiPlugin* self) {
|
||||
mjr_updateGui(nullptr);
|
||||
};
|
||||
mujoco::platform::RegisterGuiPlugin(&plugin);
|
||||
mujoco::platform::RegisterPlugin(plugin);
|
||||
}
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user