1
0
mirror of https://github.com/JustinSDK/dotSCAD.git synced 2025-08-20 13:31:30 +02:00

added test hook

This commit is contained in:
Justin Lin
2017-06-08 14:41:43 +08:00
parent 4accdf78d6
commit 27d6e0a80c

View File

@@ -26,6 +26,9 @@ module hull_polyline3d(points, thickness) {
translate(point2)
sphere(half_thickness);
}
// hook for testing
test_line_segment(index, point1, point2, half_thickness);
}
module polyline3d_inner(index) {
@@ -36,4 +39,9 @@ module hull_polyline3d(points, thickness) {
}
polyline3d_inner(1);
}
// override it to test
module test_line_segment(index, point1, point2, radius) {
}