+ 1
Understanding js line R = 255 * (R <= 0 ? 0 : R>= 1 ? 1 : Math.pow(R, 1 / gC));
Can you please explain me the meaning of this line : R = 255 * (R <= 0 ? 0 : R>= 1 ? 1 : Math.pow(R, 1 / gC)); . ? Am I right?? thank you P if R <=0 then R =255*0 Else If R>=1 then R=255*1 Else R =255* (R^1/gC)
1 Antwort
+ 1
Yes, though R^(1/gC) should be used to show that is processed first.