The PackedBoolList will never try to set anything with a negative index, so the only way is manually with something like this:
if (blockedCell) { if (debug && connectedFacei < 0) { carp; } else { isSeed.set(connectedFacei); } }
The PackedBoolList will never try to set anything with a negative index, so the only way is manually with something like this:
if (blockedCell)
{
if (debug && connectedFacei < 0)
{
carp;
}
else
{
isSeed.set(connectedFacei);
}
}