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

avoid warning

This commit is contained in:
Justin Lin
2019-06-15 10:49:58 +08:00
parent 2d755a6cbf
commit df5775bd05

View File

@@ -95,7 +95,7 @@ module along_with(points, angles, twist = 0, scale = 1.0, method = "AXIS_ANGLE")
} }
module axis_angle_align_with_pts_init(a, s) { module axis_angle_align_with_pts_init(a, s) {
angleyz = __angy_angz(points[0], points[1]); angleyz = __angy_angz(__to3d(points[0]), __to3d(points[1]));
rotate([0, -angleyz[0], angleyz[1]]) rotate([0, -angleyz[0], angleyz[1]])
rotate([90, 0, -90]) rotate([90, 0, -90])
rotate(a) rotate(a)