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

Method getXScaleFactor

src/Core/Graphics/Sprite.cpp:340–343  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

338 }
339
340 int Sprite::getXScaleFactor() const
341 {
342 return obe::Utils::Math::sign(m_sprite.getScale().x);
343 }
344
345 int Sprite::getYScaleFactor() const
346 {

Callers

nothing calls this directly

Calls 2

getScaleMethod · 0.80
signFunction · 0.50

Tested by

no test coverage detected