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
size
World-space width (x) and height (y).
fill
Initial fill color (default: opaque white).
Flint
RectangleShape
Generated by
1.12.0