Refactor many usages of Color to natively store linear not gamma (#2457)

This commit is contained in:
Keavon Chambers
2025-03-18 05:37:20 -07:00
committed by GitHub
parent 056020a56c
commit 6292dea103
36 changed files with 232 additions and 183 deletions
+1 -1
View File
@@ -454,7 +454,7 @@ export class Gradient {
}
}
// All channels range from 0 to 1
// All channels range are represented by 0-1, sRGB, gamma.
export class Color {
readonly red!: number;