Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
moveTo
Method · 0.80
Calls
2
UnitVector
Class · 0.85
sign
Function · 0.50
Tested by
no test coverage detected