Change mesh only mode to -s (surface) instead of -m
add placeholder -m (mask) option and update libtrix function calls
crap draft new 4-tri-per-pixel w/mask mode
check for mask before checking mask
replaced wrong avg with dumb but correct avg
fix stupid reversed coordinate bug (use xy, not row/col terminology)
draft irregular wall generation
Remove original Triangle() writer
check that mask and heightmap dimensions match
duh; dimension test must occur after both images are loaded
comments to clarify default settings
Add -t option for mask threshold
applied to grayscale masks
added -r option to reverse mask
also noted comments on a problem with z values around mask edges
(triangles bordering mask edges should still slope to meet masked pixels correctly; not happening currently)
Fix bug with ignoring masked neighbor z values
which resulted in incorrect face slopes around mask edges
mask and reverse mask shapes now fit together perfectly with no disjuncture
renamed surface variable back to mesh
Diagram comment corrections for clarity
Consolidated heightmap z functions and [visually] simplified z averager
simplified mesh generator variable declarations
Add heightmask mode - uses height threshold applied to main heightmap instead of separate mask image
Remove unused verbose mode