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

Method rotate

src/Core/Graphics/Sprite.cpp:173–176  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

171 }
172
173 void Sprite::rotate(double addRotate)
174 {
175 Rect::rotate(addRotate, this->getPosition(Transform::Referential::Center));
176 }
177
178 void Sprite::setScalingOrigin(int x, int y)
179 {

Callers 1

moveToMethod · 0.45

Calls 1

getPositionMethod · 0.45

Tested by

no test coverage detected