[DiscordArchive] do you have your old code anywhere?
[DiscordArchive] do you have your old code anywhere?
Archived author: Deamon • Posted: 2018-08-27T10:42:39.360000+00:00
Original source
I've taken rgb2hsv and hsv2rgb from stackoverflow though. But it's identical to blizzard's code. That guy from stackoverflow and blizzard must have taken this code from the same source
Archived author: Deamon • Posted: 2018-08-27T10:43:21.302000+00:00
Original source
and `minilogic` is reverse from client's `CMapStaticEntity::AdjustLighting`
Archived author: Skarn • Posted: 2018-08-27T10:45:25.086000+00:00
Original source
are you sure there is no pow(color, 1 / 2.2) sneaking around in one of this implementations?
Archived author: Deamon • Posted: 2018-08-27T10:48:27.729000+00:00
Original source
https://pastebin.com/6EYPzwpn <- blizz's rgbtohsv
[Embed: [C++] const C3Vector *__cdecl HSVtoRGB(const C3Vector *a1, C3Vecto...]
https://pastebin.com/6EYPzwpn
Archived author: Deamon • Posted: 2018-08-27T10:48:42.026000+00:00
Original source
¯\_(ツ)_/¯.
Archived author: Deamon • Posted: 2018-08-27T10:51:21.876000+00:00
Original source
ok, hsv2rgb is not identical. blizz's version is little different
Archived author: Deamon • Posted: 2018-08-27T10:52:30.777000+00:00
Original source
though resemblance is 99%