1 2 3 4 5 6 7 8 9 10 11 12 13 14
#pragma once #include "drawable.h" namespace gfx { struct Rectangle : public Drawable { float x; float y; float w; float h; void draw() override; } }