1
0
mirror of https://github.com/JustinSDK/dotSCAD.git synced 2025-08-09 08:16:50 +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);
}
}
@@ -63,4 +65,9 @@ module hexagons(radius, spacing, levels) {
for(hex_datum = total_hex_data) {
line_hexagons(hex_datum);
}
}
// override it to test
module test_each_hexagon(hex_r, pt) {
}