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

Method setPosition

src/Core/Transform/Rect.cpp:190–195  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

188 }
189
190 void Rect::setPosition(const UnitVector& position, const Referential& ref)
191 {
192 UnitVector pVec = position.to<Units::SceneUnits>();
193 this->transformRef(pVec, ref, ConversionType::To);
194 m_position.set(pVec);
195 }
196
197 void Rect::setSize(const UnitVector& size, const Referential& ref)
198 {

Callers 3

setPointPositionMethod · 0.95
setSizeMethod · 0.95
scaleMethod · 0.95

Calls 2

transformRefMethod · 0.95
setMethod · 0.45

Tested by

no test coverage detected