Uhhh. Make
Vector2f get_start()
and same for end
, and use them in your sum()
. But I question the value of wrapping such simple types instead of writing them from scratch and providing functions to convert between the two.