Flint Engine
Modular C++20 2D game engine powered by SDL3
Loading...
Searching...
No Matches

◆ setOrigin()

void Flint::RectangleShape::setOrigin ( Vec2f newOrigin)
inline

Set the local pivot point used for rotation and positioning.

Parameters
newOriginPivot offset in local object space.

Definition at line 44 of file rectangle-shape.h.