|
Post by danylo on Jan 27, 2020 19:46:02 GMT
Am I doing everything correctly? I'm getting the expected result, but example picture and mine is like comparison between 4K and 240p Attachments:
|
|
|
Post by danylo on Jan 27, 2020 21:27:49 GMT
Found the issue I was limiting some calculations to be able to pass some tests. For example, I expect to get 0.7 as an answer, but I get 0.69999999. So I was formating it to get exact numbers, which lead to some limitations. Like for example, colors instead of having range 0-255 with step 1, would have a range the same range, but with step 25
|
|