Add built-in cone mesh type.

Also delete `prism` type since it is subsumed by cone.

PiperOrigin-RevId: 790992343
Change-Id: I7a9c6f2a4377489173acd64b23086c748d2cee8e
This commit is contained in:
Yuval Tassa
2025-08-04 19:34:35 -07:00
committed by Copybara-Service
parent 4a91c34239
commit a5a6379f83
13 changed files with 167 additions and 111 deletions
+2 -2
View File
@@ -2044,10 +2044,10 @@ TEST_F(XMLReaderTest, UnsupportedMesh) {
static constexpr char xml[] = R"(
<mujoco>
<asset>
<mesh name="cone" builtin="cone" params="25 25 180 90 0"/>
<mesh name="torus" builtin="torus" params="25 25 180 90 0"/>
</asset>
<worldbody>
<geom type="mesh" mesh="cone"/>
<geom type="mesh" mesh="torus"/>
</worldbody>
</mujoco>
)";