--- nono/lib/rect.h 2026/04/29 17:05:08 1.1 +++ nono/lib/rect.h 2026/04/29 17:05:26 1.1.1.2 @@ -54,18 +54,18 @@ struct Rect }; // -// 自前の Rect 構造体 +// 自前の Rect 構造体 // -struct RectD +struct RectF { - double x {}; - double y {}; - double w {}; - double h {}; + float x {}; + float y {}; + float w {}; + float h {}; - RectD() {} + RectF() {} - RectD(double x_, double y_, double w_, double h_) { + RectF(float x_, float y_, float w_, float h_) { x = x_; y = y_; w = w_;