done refactoring functional core (mostly); next, need to move folders in temp-squares directory into main

This commit is contained in:
2025-07-06 14:45:20 +01:00
parent 1c34bd715f
commit 395d6002d8
7 changed files with 485 additions and 299 deletions

View File

@@ -21,10 +21,8 @@ struct
val curPos = Vector.sub (clickPoints, idx)
val nextPos = Vector.sub (clickPoints, nextIdx)
in
if mousePos >= curPos andalso mousePos <= nextPos then
SOME idx
else
getClickPos (clickPoints, mousePos, idx + 1)
if mousePos >= curPos andalso mousePos <= nextPos then SOME idx
else getClickPos (clickPoints, mousePos, idx + 1)
end
end