mirror of
https://github.com/JustinSDK/dotSCAD.git
synced 2025-08-14 18:54:41 +02:00
refactor
This commit is contained in:
@@ -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)
|
||||||
|
Reference in New Issue
Block a user