chiark / gitweb /
dice: Reorganise occultation handling
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Sat, 16 Apr 2022 20:00:44 +0000 (21:00 +0100)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Sun, 17 Apr 2022 13:26:23 +0000 (14:26 +0100)
commite2d90f3966cde576024fb549504f226e6e535bd7
tree07c1b8f1e06da7b9c7645bcecfb970a8c80e6778
parentd97483fbfd27005d04aaa0bfabb6c5957d3578d5
dice: Reorganise occultation handling

I was trying to support ilks properly.  This code is in fact going to
be considerably simplified.

But it will still make sense to split the interpretation of the spec
from the assembly of the Arc<dyn InertPieceImage> for the occulted
view.  That will make it possible for the spec interpretation to
provide an occulted view in more situations.

In fact it appears that these plans are going to be postponed and not
done right now, but I'm keeping this refactoring.

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
src/dice.rs