Implemented Vec2 functions