From 38ee55a957adaaefb935907b639f6af3156c85eb Mon Sep 17 00:00:00 2001 From: Alessio Quaglino Date: Thu, 21 Nov 2024 05:07:28 -0800 Subject: [PATCH] Remove unused userfacenormal field from mjSpec. PiperOrigin-RevId: 698739284 Change-Id: I6407356ac12ad49454d15ecf9056f2c0bef713d5 --- doc/includes/references.h | 1 - include/mujoco/mjspec.h | 1 - introspect/structs.py | 7 ------- 3 files changed, 9 deletions(-) diff --git a/doc/includes/references.h b/doc/includes/references.h index 199599f4..fe917ab1 100644 --- a/doc/includes/references.h +++ b/doc/includes/references.h @@ -2003,7 +2003,6 @@ typedef struct mjsMesh_ { // mesh specification mjFloatVec* usernormal; // user normal data mjFloatVec* usertexcoord; // user texcoord data mjIntVec* userface; // user vertex indices - mjIntVec* userfacenormal; // user normal indices mjIntVec* userfacetexcoord; // user texcoord indices mjsPlugin plugin; // sdf plugin mjString* info; // message appended to compiler errors diff --git a/include/mujoco/mjspec.h b/include/mujoco/mjspec.h index 2dc3177b..eddcf222 100644 --- a/include/mujoco/mjspec.h +++ b/include/mujoco/mjspec.h @@ -464,7 +464,6 @@ typedef struct mjsMesh_ { // mesh specification mjFloatVec* usernormal; // user normal data mjFloatVec* usertexcoord; // user texcoord data mjIntVec* userface; // user vertex indices - mjIntVec* userfacenormal; // user normal indices mjIntVec* userfacetexcoord; // user texcoord indices mjsPlugin plugin; // sdf plugin mjString* info; // message appended to compiler errors diff --git a/introspect/structs.py b/introspect/structs.py index 9b8c4c47..c1e00a86 100644 --- a/introspect/structs.py +++ b/introspect/structs.py @@ -10341,13 +10341,6 @@ STRUCTS: Mapping[str, StructDecl] = dict([ ), doc='user vertex indices', ), - StructFieldDecl( - name='userfacenormal', - type=PointerType( - inner_type=ValueType(name='mjIntVec'), - ), - doc='user normal indices', - ), StructFieldDecl( name='userfacetexcoord', type=PointerType(