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:
committed by
Copybara-Service
parent
4a91c34239
commit
a5a6379f83
@@ -827,12 +827,11 @@ const mjMap meshinertia_map[4] = {
|
||||
|
||||
|
||||
// mesh builtin type
|
||||
const int meshbuiltin_sz = 8;
|
||||
const int meshbuiltin_sz = 7;
|
||||
const mjMap meshbuiltin_map[meshbuiltin_sz] = {
|
||||
{"none", mjMESH_BUILTIN_NONE},
|
||||
{"sphere", mjMESH_BUILTIN_SPHERE},
|
||||
{"hemisphere", mjMESH_BUILTIN_HEMISPHERE},
|
||||
{"prism", mjMESH_BUILTIN_PRISM},
|
||||
{"cone", mjMESH_BUILTIN_CONE},
|
||||
{"torus", mjMESH_BUILTIN_TORUS},
|
||||
{"wedge", mjMESH_BUILTIN_WEDGE},
|
||||
|
||||
Reference in New Issue
Block a user