Use vector of QVector2D instead two float vectors.