mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-12 09:17:52 -06:00
Added make_sphere, generates a mesh with specified step angle and raidus rho.
This commit is contained in:
parent
ceb72da632
commit
c575a1f1d6
3 changed files with 89 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue