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

◆ solidQuad()

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.

Parameters
dstDestination rectangle in world-space units.
tintSolid RGBA color assigned to vertices.
rotationClockwise rotation in radians
originRotation pivot measured from dst position in world-space units.