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

Method scale

src/SFML/Graphics/Transformable.cpp:115–118  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

113
114////////////////////////////////////////////////////////////
115void Transformable::scale(Vector2f factor)
116{
117 setScale({m_scale.x * factor.x, m_scale.y * factor.y});
118}
119
120
121////////////////////////////////////////////////////////////

Callers 2

Transform.test.cppFile · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected