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

Method setCenter

src/SFML/Graphics/View.cpp:49–54  ·  view source on GitHub ↗

///////////////////////////////////////////////////////

Source from the content-addressed store, hash-verified

47
48////////////////////////////////////////////////////////////
49void View::setCenter(Vector2f center)
50{
51 m_center = center;
52 m_transformUpdated = false;
53 m_invTransformUpdated = false;
54}
55
56
57////////////////////////////////////////////////////////////

Callers 4

View.test.cppFile · 0.80
mainFunction · 0.80
mainFunction · 0.80
mainFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected