mirror of
https://github.com/JustinSDK/dotSCAD.git
synced 2025-08-01 04:20:27 +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))
|
||||
[
|
||||
for(coord = notCollaspedCoords)
|
||||
let(y = coord.y, x = coord.x)
|
||||
if(len(eigenstates[y][x]) != 1) [x, y]
|
||||
if(len(eigenstates[coord.y][coord.x]) != 1) coord
|
||||
];
|
||||
|
||||
function collapsing(method) =
|
||||
|
Reference in New Issue
Block a user