chiark / gitweb /
script lower: Rework and fix walk algorithm
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Sat, 10 Jul 2021 12:37:02 +0000 (13:37 +0100)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Sat, 10 Jul 2021 18:31:44 +0000 (19:31 +0100)
commit30a5ef0bf619bc8cd9d0a1130a74eb9fff05f67b
tree2438282e7eb06b7d4a5cc626797f8a9ad2b411c1
parent97316f1e4c2521671c3a448313f5d52a254d7886
script lower: Rework and fix walk algorithm

We need to keep track whether we're in state B.  bottommost_light is
not really good for that.  Nor is it any use for figuring out what
starting z coordinate to select.

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
templates/script.ts