Move renderer.py and gl_context.py into a submodule.

PiperOrigin-RevId: 870789311
Change-Id: Iaa0fcc764a770eeb4570a6a189a5ad032d41d64c
This commit is contained in:
Haroon Qureshi
2026-02-16 02:40:48 -08:00
committed by Copybara-Service
parent 66a413419a
commit 8f2799a34b
6 changed files with 423 additions and 358 deletions
+10 -2
View File
@@ -59,8 +59,16 @@ from mujoco._functions import *
from mujoco._render import *
from mujoco._specs import *
from mujoco._structs import *
from mujoco.gl_context import *
from mujoco.renderer import Renderer
try:
from mujoco.rendering.classic.renderer import Renderer # pytype: disable=import-error
except ImportError:
pass
try:
from mujoco.rendering.classic.gl_context import * # pytype: disable=import-error
except ImportError:
pass
MjStruct: TypeAlias = Union[
_specs.MjsBody,