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

Method setRotation

src/Core/Transform/Polygon.cpp:310–313  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

308 }
309
310 void Polygon::setRotation(const float angle, const Transform::UnitVector origin)
311 {
312 this->rotate(angle - m_angle, origin);
313 }
314
315 float Polygon::getRotation() const
316 {

Callers

nothing calls this directly

Calls 1

rotateMethod · 0.95

Tested by

no test coverage detected