mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 13:27:35 +00:00
ICC: Make struct XYZ store float instead of double
Should be good enough.
This commit is contained in:
parent
e1de31a3fe
commit
037d213fdf
2 changed files with 4 additions and 4 deletions
|
@ -48,7 +48,7 @@ struct XYZNumber {
|
|||
|
||||
operator XYZ() const
|
||||
{
|
||||
return XYZ { x / (double)0x1'0000, y / (double)0x1'0000, z / (double)0x1'0000 };
|
||||
return XYZ { x / (float)0x1'0000, y / (float)0x1'0000, z / (float)0x1'0000 };
|
||||
}
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue