Closed Flokey82 closed 1 year ago
Since they are so similar, they can be merged. AssignDistanceField can take a pre-existing distance field as parameter and simply update it. If nil is supplied, we just initialize a new one.
The merged function is quite a bit slower... Closing this for now. I might re-visit this at a later date.
Since they are so similar, they can be merged. AssignDistanceField can take a pre-existing distance field as parameter and simply update it. If nil is supplied, we just initialize a new one.