gheja/trilateration.js

Return a generic format of the intersection point

Opened this issue · 0 comments

When you return the point, it's better to keep them both in array format:

if (z == 0)
{
        return [a];
}
else
{
        return [ p4a, p4b ];
}