MCPcopy Create free account
hub / github.com/SFML/SFML / vec2ToString

Function vec2ToString

examples/event_handling/EventHandling.cpp:19–22  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

17#endif
18}
19std::string vec2ToString(const sf::Vector2i vec2)
20{
21 return '(' + std::to_string(vec2.x) + ", " + std::to_string(vec2.y) + ')';
22}
23} // namespace
24
25

Callers 4

operator()Method · 0.85
runMethod · 0.85
handleMethod · 0.85
mainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected