1
0
mirror of https://github.com/JustinSDK/dotSCAD.git synced 2025-08-14 18:54:41 +02:00
This commit is contained in:
Justin Lin
2022-03-11 21:10:47 +08:00
parent d60b35dd0d
commit 37b4855793

View File

@@ -35,7 +35,7 @@ function _cells_lt_before_intersection(shape, size, points, pt, half_region_size
let( let(
v = p - pt, v = p - pt,
offset = (pt + p) / 2 - v / norm(v) * half_region_size, offset = (pt + p) / 2 - v / norm(v) * half_region_size,
a = atan2(v[1], v[0]) a = atan2(v.y, v.x)
) )
[ [
for(sp = shape) for(sp = shape)