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

Method setRotation

src/Core/Graphics/Sprite.cpp:168–171  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

166 }
167
168 void Sprite::setRotation(double rotate)
169 {
170 Rect::setRotation(rotate, this->getPosition(Transform::Referential::Center));
171 }
172
173 void Sprite::rotate(double addRotate)
174 {

Callers 2

loadMethod · 0.95
moveToMethod · 0.45

Calls 1

getPositionMethod · 0.45

Tested by

no test coverage detected