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

Method setOrigin

src/SFML/Graphics/Transformable.cpp:64–69  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

62
63////////////////////////////////////////////////////////////
64void Transformable::setOrigin(Vector2f origin)
65{
66 m_origin = origin;
67 m_transformNeedUpdate = true;
68 m_inverseTransformNeedUpdate = true;
69}
70
71
72////////////////////////////////////////////////////////////

Callers 5

mainFunction · 0.80
mainFunction · 0.80
mainFunction · 0.80
KeyboardViewMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected