- float r, g, b, a;
-
- Color(): r(1), g(1), b(1), a(1) { }
- Color(float v): r(v), g(v), b(v), a(1) { }
- Color(float r_, float g_, float b_): r(r_), g(g_), b(b_), a(1) { }
+ float r = 1.0f;
+ float g = 1.0f;
+ float b = 1.0f;
+ float a = 1.0f;
+
+ Color() = default;
+ Color(float v): r(v), g(v), b(v) { }
+ Color(float r_, float g_, float b_): r(r_), g(g_), b(b_) { }