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

Method setRotation

src/Core/Transform/Rect.cpp:30–33  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

28 }
29
30 void Rect::setRotation(double angle, Transform::UnitVector origin)
31 {
32 this->rotate(angle - m_angle, origin);
33 }
34
35 void Rect::rotate(double angle, Transform::UnitVector origin)
36 {

Callers

nothing calls this directly

Calls 1

rotateMethod · 0.95

Tested by

no test coverage detected