public Vector2f findNearestIntesection(Vector2f a, Vector2f b, Vector2f posRel)
    {
        if(b != null && (a == null || a.sub(posRel).length() > b.sub(posRel).length()))
        {
            return b;
        }

        return a;
    }