mirror of
https://github.com/hyprwm/hyprgraphics.git
synced 2026-05-05 05:18:34 +02:00
designated init in Color header
This commit is contained in:
parent
0cca341d68
commit
c980c7e463
1 changed files with 1 additions and 1 deletions
|
|
@ -34,7 +34,7 @@ namespace Hyprgraphics {
|
|||
|
||||
// per-component division
|
||||
XYZ operator/(const XYZ& other) const {
|
||||
return {x / other.x, y / other.y, z / other.z};
|
||||
return {.x = x / other.x, .y = y / other.y, .z = z / other.z};
|
||||
}
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue