Closed jallen-NextDroid closed 3 years ago
It's 0 for valid, 1 for invalid. Kinda backwards I suppose, maybe I'll change the variable name to be more clear
Yuck. You could rename to "invalid" if you need 0 to be valid and 1 invalid. But why not switch to 0 invalid and 1 valid?
Otherwise you end up with double negatives !invalid
.
Now the closest left and right points are used to determine spine validity. If either is invalid, the spine will be invalid