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

Method setScale

extlibs/sfe/src/ComplexTransformable.cpp:46–52  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

44 }
45
46 void ComplexTransformable::setScale(float factorX, float factorY)
47 {
48 m_scale.x = factorX;
49 m_scale.y = factorY;
50 m_transformNeedUpdate = true;
51 m_inverseTransformNeedUpdate = true;
52 }
53
54 void ComplexTransformable::setScale(const sf::Vector2f& factors)
55 {

Callers 1

copyFromSpriteMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected