Use templates and macros to reduce boilerplate.

PiperOrigin-RevId: 872805912
Change-Id: I6fc1abe283bc809a95d660abc072906b0810aaeb
This commit is contained in:
Haroon Qureshi
2026-02-20 02:42:13 -08:00
committed by Copybara-Service
parent a79747334b
commit 28ad603f6b
4 changed files with 59 additions and 93 deletions
+1 -1
View File
@@ -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