LinearToSRGB function
dynamic
LinearToSRGB(
- dynamic c
Implementation
LinearToSRGB(c) {
return (c < 0.0031308) ? c * 12.92 : 1.055 * (Math.pow(c, 0.41666)) - 0.055;
}
LinearToSRGB(c) {
return (c < 0.0031308) ? c * 12.92 : 1.055 * (Math.pow(c, 0.41666)) - 0.055;
}