Improve docstring in mjvGeom, fixes #2629
PiperOrigin-RevId: 763693102 Change-Id: Icb9a3168691690ccf086adb5a20358b3952d6717
This commit is contained in:
committed by
Copybara-Service
parent
f1954e98cf
commit
ccc912c3b0
@@ -2815,7 +2815,7 @@ typedef struct mjvGLCamera_ mjvGLCamera;
|
|||||||
struct mjvGeom_ { // abstract geom
|
struct mjvGeom_ { // abstract geom
|
||||||
// type info
|
// type info
|
||||||
int type; // geom type (mjtGeom)
|
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 objtype; // mujoco object type; mjOBJ_UNKNOWN for decor
|
||||||
int objid; // mujoco object id; -1 for decor
|
int objid; // mujoco object id; -1 for decor
|
||||||
int category; // visual category
|
int category; // visual category
|
||||||
|
|||||||
@@ -226,7 +226,7 @@ typedef struct mjvGLCamera_ mjvGLCamera;
|
|||||||
struct mjvGeom_ { // abstract geom
|
struct mjvGeom_ { // abstract geom
|
||||||
// type info
|
// type info
|
||||||
int type; // geom type (mjtGeom)
|
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 objtype; // mujoco object type; mjOBJ_UNKNOWN for decor
|
||||||
int objid; // mujoco object id; -1 for decor
|
int objid; // mujoco object id; -1 for decor
|
||||||
int category; // visual category
|
int category; // visual category
|
||||||
|
|||||||
@@ -6567,7 +6567,7 @@ STRUCTS: Mapping[str, StructDecl] = dict([
|
|||||||
StructFieldDecl(
|
StructFieldDecl(
|
||||||
name='dataid',
|
name='dataid',
|
||||||
type=ValueType(name='int'),
|
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(
|
StructFieldDecl(
|
||||||
name='objtype',
|
name='objtype',
|
||||||
|
|||||||
Reference in New Issue
Block a user