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

Method getPosition

src/Core/Transform/Rect.cpp:183–188  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

181 }
182
183 UnitVector Rect::getPosition(const Referential& ref) const
184 {
185 UnitVector getPosVec = m_position;
186 this->transformRef(getPosVec, ref, ConversionType::From);
187 return getPosVec;
188 }
189
190 void Rect::setPosition(const UnitVector& position, const Referential& ref)
191 {

Callers 3

setPointPositionMethod · 0.95
setSizeMethod · 0.95
scaleMethod · 0.95

Calls 1

transformRefMethod · 0.95

Tested by

no test coverage detected