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

Method getScaleFactor

src/Core/Transform/Rect.cpp:235–238  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

233 }
234
235 UnitVector Rect::getScaleFactor() const
236 {
237 return UnitVector(Utils::Math::sign(m_size.x), Utils::Math::sign(m_size.y));
238 }
239} // namespace obe::Transform

Callers 1

moveToMethod · 0.80

Calls 2

UnitVectorClass · 0.85
signFunction · 0.50

Tested by

no test coverage detected