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

Method getYScaleFactor

src/Core/Graphics/Sprite.cpp:345–348  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

343 }
344
345 int Sprite::getYScaleFactor() const
346 {
347 return obe::Utils::Math::sign(m_sprite.getScale().y);
348 }
349
350 void Sprite::setPositionTransformer(const PositionTransformer& transformer)
351 {

Callers

nothing calls this directly

Calls 2

getScaleMethod · 0.80
signFunction · 0.50

Tested by

no test coverage detected