Add llLinear2sRGB / llsRGB2Linear implementations

This commit is contained in:
Sei Lisa 2020-04-23 00:36:08 +02:00
parent 5755bb1c30
commit c8a0a21823
3 changed files with 24 additions and 0 deletions

View file

@ -64,4 +64,8 @@
, llVecDist(<0,0,0>, <0,0,0>)
, llVecDist(<0,0,0>, <48,-60,-64>)
, llVecDist(<-30,30,30>, <18,-30,-34>)
, llLinear2sRGB(<0.002, 0.14875476, 0.047648344>)*16777216
, llLinear2sRGB(<0.98946905, 0.6663575, 0.018204538>)*16777216
, llsRGB2Linear(<0.002, 0.16214077, 0.28536963>)*16777216
, llsRGB2Linear(<0.80262023, 0.6663575, 0.018204538>)*16777216
]

View file

@ -64,4 +64,8 @@
, 0.
, 100.
, 100.
, <433523.28, 7078700., 4056445.5>
, <16699309., 14022980., 2411880.>
, <2597.0922, 377653.25, 1110698.>
, <10205213., 6737136.5, 23639.431>
]