Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
load
Method · 0.95
moveTo
Method · 0.45
Calls
1
getPosition
Method · 0.45
Tested by
no test coverage detected