Merge GetRenderable and GetSelectedRenderable

PiperOrigin-RevId: 943844092
Change-Id: Ia3888ea6c289d491ddb2fba0ea4f5799c367ef2c
This commit is contained in:
Haroon Qureshi
2026-07-07 05:54:08 -07:00
committed by Copybara-Service
parent 641c1cf11b
commit 6d02ee4756
2 changed files with 21 additions and 25 deletions
@@ -58,6 +58,9 @@ class RenderableManager {
// Applies the visualization options to the renderables in the scene.
void Apply(const mjvOption& vopts);
RenderableManager(const RenderableManager&) = delete;
RenderableManager& operator=(const RenderableManager&) = delete;
private:
void AddGeomGeoms();
void AddSiteGeoms();
@@ -72,8 +75,6 @@ class RenderableManager {
int GetSegmentationId(mjtObj obj_type, int obj_index);
mjrfRenderable* GetSelectedRenderable();
mjrfContext* ctx_;
mjrfScene* scene_;
ModelObjects* model_objects_;