mirror of
https://github.com/JustinSDK/dotSCAD.git
synced 2025-08-20 13:31:30 +02:00
add deprecated message
This commit is contained in:
@@ -9,6 +9,8 @@
|
||||
**/
|
||||
|
||||
module voronoi2d(points, spacing = 1, r = 0, delta = 0, chamfer = false, region_type = "square") {
|
||||
echo("<b><i>voronoi2d</i> is deprecated: use <i>voronoi/vrn2_from</i> instead.</b>");
|
||||
|
||||
xs = [for(p = points) p[0]];
|
||||
ys = [for(p = points) abs(p[1])];
|
||||
|
||||
|
@@ -13,6 +13,8 @@ use <__comm__/__angy_angz.scad>;
|
||||
// slow but workable
|
||||
|
||||
module voronoi3d(points, spacing = 1) {
|
||||
echo("<b><i>voronoi3d</i> is deprecated: use <i>voronoi/vrn3_from</i> instead.</b>");
|
||||
|
||||
xs = [for(p = points) p[0]];
|
||||
ys = [for(p = points) abs(p[1])];
|
||||
zs = [for(p = points) abs(p[2])];
|
||||
|
Reference in New Issue
Block a user