mirror of
https://github.com/JustinSDK/dotSCAD.git
synced 2025-08-07 07:16:36 +02:00
refactor: use coord directly
This commit is contained in:
@@ -77,8 +77,7 @@ function wf_not_collapsed_coords(wf, notCollaspedCoords) =
|
|||||||
let(eigenstates = wf_eigenstates(wf))
|
let(eigenstates = wf_eigenstates(wf))
|
||||||
[
|
[
|
||||||
for(coord = notCollaspedCoords)
|
for(coord = notCollaspedCoords)
|
||||||
let(y = coord.y, x = coord.x)
|
if(len(eigenstates[coord.y][coord.x]) != 1) coord
|
||||||
if(len(eigenstates[y][x]) != 1) [x, y]
|
|
||||||
];
|
];
|
||||||
|
|
||||||
function collapsing(method) =
|
function collapsing(method) =
|
||||||
|
Reference in New Issue
Block a user