Merge pull request #2908 from davidhozic:doc/fix-comments

PiperOrigin-RevId: 824546229
Change-Id: I9961e7f39d0549ff8b15a1007fb20832a0014bbd
This commit is contained in:
Copybara-Service
2025-10-27 09:16:01 -07:00
4 changed files with 9 additions and 9 deletions
+3 -3
View File
@@ -988,7 +988,7 @@ struct mjModel_ {
int nmeshpolymap; // number of polygons in vertex map int nmeshpolymap; // number of polygons in vertex map
int nskin; // number of skins int nskin; // number of skins
int nskinvert; // number of vertices in all skins int nskinvert; // number of vertices in all skins
int nskintexvert; // number of vertiex with texcoords in all skins int nskintexvert; // number of vertices with texcoords in all skins
int nskinface; // number of triangular faces in all skins int nskinface; // number of triangular faces in all skins
int nskinbone; // number of bones in all skins int nskinbone; // number of bones in all skins
int nskinbonevert; // number of vertices in all skin bones int nskinbonevert; // number of vertices in all skin bones
@@ -1268,7 +1268,7 @@ struct mjModel_ {
mjtNum* flex_edgestiffness; // edge stiffness (nflex x 1) mjtNum* flex_edgestiffness; // edge stiffness (nflex x 1)
mjtNum* flex_edgedamping; // edge damping (nflex x 1) mjtNum* flex_edgedamping; // edge damping (nflex x 1)
mjtByte* flex_edgeequality; // is edge equality constraint defined (nflex x 1) mjtByte* flex_edgeequality; // is edge equality constraint defined (nflex x 1)
mjtByte* flex_rigid; // are all verices in the same body (nflex x 1) mjtByte* flex_rigid; // are all vertices in the same body (nflex x 1)
mjtByte* flexedge_rigid; // are both edge vertices in same body (nflexedge x 1) mjtByte* flexedge_rigid; // are both edge vertices in same body (nflexedge x 1)
mjtByte* flex_centered; // are all vertex coordinates (0,0,0) (nflex x 1) mjtByte* flex_centered; // are all vertex coordinates (0,0,0) (nflex x 1)
mjtByte* flex_flatskin; // render flex skin with flat shading (nflex x 1) mjtByte* flex_flatskin; // render flex skin with flat shading (nflex x 1)
@@ -1748,7 +1748,7 @@ struct mjrContext_ { // custom OpenGL context
// character info // character info
int charWidth[127]; // character widths: normal and shadow int charWidth[127]; // character widths: normal and shadow
int charWidthBig[127]; // chacarter widths: big int charWidthBig[127]; // character widths: big
int charHeight; // character heights: normal and shadow int charHeight; // character heights: normal and shadow
int charHeightBig; // character heights: big int charHeightBig; // character heights: big
+2 -2
View File
@@ -669,7 +669,7 @@ struct mjModel_ {
int nmeshpolymap; // number of polygons in vertex map int nmeshpolymap; // number of polygons in vertex map
int nskin; // number of skins int nskin; // number of skins
int nskinvert; // number of vertices in all skins int nskinvert; // number of vertices in all skins
int nskintexvert; // number of vertiex with texcoords in all skins int nskintexvert; // number of vertices with texcoords in all skins
int nskinface; // number of triangular faces in all skins int nskinface; // number of triangular faces in all skins
int nskinbone; // number of bones in all skins int nskinbone; // number of bones in all skins
int nskinbonevert; // number of vertices in all skin bones int nskinbonevert; // number of vertices in all skin bones
@@ -949,7 +949,7 @@ struct mjModel_ {
mjtNum* flex_edgestiffness; // edge stiffness (nflex x 1) mjtNum* flex_edgestiffness; // edge stiffness (nflex x 1)
mjtNum* flex_edgedamping; // edge damping (nflex x 1) mjtNum* flex_edgedamping; // edge damping (nflex x 1)
mjtByte* flex_edgeequality; // is edge equality constraint defined (nflex x 1) mjtByte* flex_edgeequality; // is edge equality constraint defined (nflex x 1)
mjtByte* flex_rigid; // are all verices in the same body (nflex x 1) mjtByte* flex_rigid; // are all vertices in the same body (nflex x 1)
mjtByte* flexedge_rigid; // are both edge vertices in same body (nflexedge x 1) mjtByte* flexedge_rigid; // are both edge vertices in same body (nflexedge x 1)
mjtByte* flex_centered; // are all vertex coordinates (0,0,0) (nflex x 1) mjtByte* flex_centered; // are all vertex coordinates (0,0,0) (nflex x 1)
mjtByte* flex_flatskin; // render flex skin with flat shading (nflex x 1) mjtByte* flex_flatskin; // render flex skin with flat shading (nflex x 1)
+1 -1
View File
@@ -149,7 +149,7 @@ struct mjrContext_ { // custom OpenGL context
// character info // character info
int charWidth[127]; // character widths: normal and shadow int charWidth[127]; // character widths: normal and shadow
int charWidthBig[127]; // chacarter widths: big int charWidthBig[127]; // character widths: big
int charHeight; // character heights: normal and shadow int charHeight; // character heights: normal and shadow
int charHeightBig; // character heights: big int charHeightBig; // character heights: big
+3 -3
View File
@@ -1045,7 +1045,7 @@ STRUCTS: Mapping[str, StructDecl] = dict([
StructFieldDecl( StructFieldDecl(
name='nskintexvert', name='nskintexvert',
type=ValueType(name='int'), type=ValueType(name='int'),
doc='number of vertiex with texcoords in all skins', doc='number of vertices with texcoords in all skins',
), ),
StructFieldDecl( StructFieldDecl(
name='nskinface', name='nskinface',
@@ -2867,7 +2867,7 @@ STRUCTS: Mapping[str, StructDecl] = dict([
type=PointerType( type=PointerType(
inner_type=ValueType(name='mjtByte'), inner_type=ValueType(name='mjtByte'),
), ),
doc='are all verices in the same body', doc='are all vertices in the same body',
array_extent=('nflex',), array_extent=('nflex',),
), ),
StructFieldDecl( StructFieldDecl(
@@ -7766,7 +7766,7 @@ STRUCTS: Mapping[str, StructDecl] = dict([
inner_type=ValueType(name='int'), inner_type=ValueType(name='int'),
extents=(127,), extents=(127,),
), ),
doc='chacarter widths: big', doc='character widths: big',
), ),
StructFieldDecl( StructFieldDecl(
name='charHeight', name='charHeight',