Add needsdf flag to mjsMesh.

PiperOrigin-RevId: 782949528
Change-Id: Iaa96326a91795c3469c991bd8def53560b38e4f0
This commit is contained in:
Alessio Quaglino
2025-07-14 10:10:27 -07:00
committed by Copybara-Service
parent 92bcbeb5d3
commit 9a41d385c1
6 changed files with 10 additions and 5 deletions
+1
View File
@@ -462,6 +462,7 @@ typedef struct mjsMesh_ { // mesh specification
double scale[3]; // rescale mesh
mjtMeshInertia inertia; // inertia type (convex, legacy, exact, shell)
mjtByte smoothnormal; // do not exclude large-angle faces from normals
mjtByte needsdf; // compute sdf from mesh
int maxhullvert; // maximum vertex count for the convex hull
mjFloatVec* uservert; // user vertex data
mjFloatVec* usernormal; // user normal data