Added make_sphere, generates a mesh with specified step angle and raidus rho.

This commit is contained in:
Joseph Lenox 2016-12-05 22:43:55 +00:00 committed by bubnikv
parent ceb72da632
commit c575a1f1d6
3 changed files with 89 additions and 0 deletions

View file

@ -114,6 +114,8 @@ TriangleMesh make_cube(double x, double y, double z);
// Generate a TriangleMesh of a cylinder
TriangleMesh make_cylinder(double r, double h, double fa=(2*PI/360));
TriangleMesh make_sphere(double rho, double fa=(2*PI/360));
}
#endif