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

◆ RectangleShape()

Flint::RectangleShape::RectangleShape ( Vec2f size,
Color fill = {255, 255, 255, 255} )

Construct a rectangle with the given dimensions and fill color.

Parameters
sizeWorld-space width (x) and height (y).
fillInitial fill color (default: opaque white).