Improve docstring in mjvGeom, fixes #2629

PiperOrigin-RevId: 763693102
Change-Id: Icb9a3168691690ccf086adb5a20358b3952d6717
This commit is contained in:
Yuval Tassa
2025-05-27 02:16:33 -07:00
committed by Copybara-Service
parent f1954e98cf
commit ccc912c3b0
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -2815,7 +2815,7 @@ typedef struct mjvGLCamera_ mjvGLCamera;
struct mjvGeom_ { // abstract geom
// type info
int type; // geom type (mjtGeom)
int dataid; // mesh, hfield or plane id; -1: none
int dataid; // mesh, hfield or plane id; -1: none; mesh: 2*id or 2*id+1 (hull)
int objtype; // mujoco object type; mjOBJ_UNKNOWN for decor
int objid; // mujoco object id; -1 for decor
int category; // visual category
+1 -1
View File
@@ -226,7 +226,7 @@ typedef struct mjvGLCamera_ mjvGLCamera;
struct mjvGeom_ { // abstract geom
// type info
int type; // geom type (mjtGeom)
int dataid; // mesh, hfield or plane id; -1: none
int dataid; // mesh, hfield or plane id; -1: none; mesh: 2*id or 2*id+1 (hull)
int objtype; // mujoco object type; mjOBJ_UNKNOWN for decor
int objid; // mujoco object id; -1 for decor
int category; // visual category
+1 -1
View File
@@ -6567,7 +6567,7 @@ STRUCTS: Mapping[str, StructDecl] = dict([
StructFieldDecl(
name='dataid',
type=ValueType(name='int'),
doc='mesh, hfield or plane id; -1: none',
doc='mesh, hfield or plane id; -1: none; mesh: 2*id or 2*id+1 (hull)', # pylint: disable=line-too-long
),
StructFieldDecl(
name='objtype',