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