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

Function resourcesDir

examples/event_handling/EventHandling.cpp:11–18  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

9namespace
10{
11std::filesystem::path resourcesDir()
12{
13#ifdef SFML_SYSTEM_IOS
14 return "";
15#else
16 return "resources";
17#endif
18}
19std::string vec2ToString(const sf::Vector2i vec2)
20{
21 return '(' + std::to_string(vec2.x) + ", " + std::to_string(vec2.y) + ')';

Callers 1

ApplicationClass · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected