|
Flint Engine
Modular C++20 2D game engine powered by SDL3
|
| void Flint::RenderQueue::circle | ( | GPUTexture * | texture, |
| Vec2f | center, | ||
| float | radius, | ||
| Color | tint, | ||
| float | rotation = 0.f, | ||
| float | innerRadius = 0.f ) |
Emit a circular or ring-shape primitive.
Generates a bounding quad configured for procedural or textured circle rendering.
| texture | Optional texture mapped across circle bounds. May be nullptr. |
| center | World-space center point of the circle. |
| radius | Outer radius in world-space units. |
| tint | RGBA color tint applied to the circle. |
| rotation | Clockwise rotation in radians. |
| innerRadius | innerRadius Inner cutout radius in world-space units. A value of 0.f produces a filled circle; values greater than 0.f produce a hollow ring. |