renderling
0.6.0
In renderling::
math
renderling
::
math
Function
scaled_u8_to_f32
Copy item path
Source
pub fn scaled_u8_to_f32(u:
u8
) ->
f32
Expand description
Convert a u8 in range 0-255 to an f32 in range 0.0 - 1.0.