Add built-in supertoroid mesh.
PiperOrigin-RevId: 791180080 Change-Id: I3a70f50ff4a52a1bd4b88fc30334a574895145b4
This commit is contained in:
committed by
Copybara-Service
parent
e543ba95c5
commit
a5d4d1000e
@@ -1053,6 +1053,8 @@ class mjCMesh: public mjCMesh_, private mjsMesh {
|
||||
// make a mesh of a predefined shape
|
||||
void MakeHemisphere(int res, bool make_faces, bool make_cap);
|
||||
void MakeSphere(int subdiv, bool make_faces);
|
||||
void MakeTorus(int res, double radius);
|
||||
void MakeSupertorus(int res, double radius, double s, double t);
|
||||
void MakeWedge(int resolution[2], double fov[2], double gamma);
|
||||
void MakeRect(int resolution[2]);
|
||||
void MakeCone(int nedge, double radius);
|
||||
|
||||
Reference in New Issue
Block a user