|
Flint Engine
Modular C++20 2D game engine powered by SDL3
|
| void Flint::RenderQueue::solidQuad | ( | const FloatRect & | dst, |
| Color | tint, | ||
| float | rotation = 0.f, | ||
| Vec2f | origin = {0.f, 0.f} ) |
Emit an untextured, solid-colored world-space quad.
| dst | Destination rectangle in world-space units. |
| tint | Solid RGBA color assigned to vertices. |
| rotation | Clockwise rotation in radians |
| origin | Rotation pivot measured from dst position in world-space units. |