MCPcopy Create free account
hub / github.com/ObEngine/ObEngine / setPosition

Method setPosition

extlibs/sfe/src/ComplexTransformable.cpp:23–29  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

21 }
22
23 void ComplexTransformable::setPosition(float x, float y)
24 {
25 m_position.x = x;
26 m_position.y = y;
27 m_transformNeedUpdate = true;
28 m_inverseTransformNeedUpdate = true;
29 }
30
31 void ComplexTransformable::setPosition(const sf::Vector2f& position)
32 {

Callers 4

copyFromSpriteMethod · 0.45
updateTextAndGeometryMethod · 0.45
RichText.cppFile · 0.45
updateGeometryMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected