1
0
mirror of https://github.com/JustinSDK/dotSCAD.git synced 2025-08-10 00:36:40 +02:00

added test hook

This commit is contained in:
Justin Lin
2017-05-29 18:15:11 +08:00
parent 5ba37b690d
commit d5f27902ed

View File

@@ -35,6 +35,8 @@ module hexagons(radius, spacing, levels) {
translate(p)
hexagon();
// hook for testing
test_each_hexagon(r_hexagon, p);
}
}
@@ -64,3 +66,8 @@ module hexagons(radius, spacing, levels) {
line_hexagons(hex_datum);
}
}
// override it to test
module test_each_hexagon(hex_r, pt) {
}