@@ -6181,32 +6181,32 @@ Sample Pseudocode for the Ray Trace Gamut Mapping</h4>
61816181
61826182 <h5 id="raytrace-footnotes">Footnotes for Ray Trace aggorithm</h5>
61836183 <ol>
6184- <li id="raytrace-footnote-1"><sup> 1 </sup>
6184+ <li id="raytrace-footnote-1">
61856185 It is assumed the minimum value is 0
61866186 and that all channels have the same minimum.
61876187 The value should be small relative to the unit type.
61886188 64 bit could easily be as small as 1e-14, but 1e-6 is fine in practice.</li>
6189- <li id="raytrace-footnote-2"><sup> 2 </sup>
6189+ <li id="raytrace-footnote-2">
61906190 1.0 represents the maximum in-gamut channel value,
61916191 and it is assumed all channels have the same maximum.</li>
6192- <li id="raytrace-footnote-3"><sup> 3 </sup>
6192+ <li id="raytrace-footnote-3">
61936193 This places the current color back on the chroma reduction curve,
61946194 if it has deviated.</li>
6195- <li id="raytrace-footnote-4"><sup> 4 </sup>
6195+ <li id="raytrace-footnote-4">
61966196 This means |origin_rgb| is below the gamut surface,
61976197 so we use it as an anchor closer to the gamut surface.</li>
6198- <li id="raytrace-footnote-5"><sup> 5 </sup>
6198+ <li id="raytrace-footnote-5">
61996199 This is provided for catastrophic failures
62006200 where a specific, perceptual mapping space
62016201 completely breaks down
62026202 due to ridiculously wide colors (outside the visible spectrum).
62036203 It is expected that non-imaginary colors in CSS should never trigger this.
6204- <li id="raytrace-footnote-6"><sup> 6 </sup>
6204+ <li id="raytrace-footnote-6">
62056205 For typical RGB spaces
62066206 where the gamut bounds are 0 and 1 for each component
62076207 this simplifies to a single constant
62086208 rather than a 3-element array.</li>
6209- <li id="raytrace-footnote-7"><sup> 7 </sup>
6209+ <li id="raytrace-footnote-7">
62106210 favoring the first intersection in the direction |start| -> |end|.
62116211 </ol>
62126212
0 commit comments