The current method is to check if the signed distance is less than (or equal to?) zero. But there's probably a faster way avoiding square roots.
The current method is to check if the signed distance is less than (or equal to?) zero. But there's probably a faster way avoiding square roots.