From 47a750d4a644a8145f57b9ca592ef393485037b6 Mon Sep 17 00:00:00 2001 From: Alessio Quaglino Date: Thu, 26 Feb 2026 07:39:06 -0800 Subject: [PATCH] Restore mesh-SDF collisions. This CL rolls back the change from changelist 794576123 since the previous version was more robust and stable. Compared to the original algorithm, this changes handles degenerate and very large triangles as well. BEGIN_PUBLIC Restore mesh-SDF collisions. END_PUBIC PiperOrigin-RevId: 875716983 Change-Id: If0de41dc7bbd60460779821d2338cf2d661f40d5 --- model/plugin/sdf/mesh.xml | 3 +- src/engine/engine_collision_sdf.c | 345 ++++++++++++++++++++++++++---- 2 files changed, 311 insertions(+), 37 deletions(-) diff --git a/model/plugin/sdf/mesh.xml b/model/plugin/sdf/mesh.xml index 2e41f044..87cbc075 100644 --- a/model/plugin/sdf/mesh.xml +++ b/model/plugin/sdf/mesh.xml @@ -8,7 +8,8 @@ -