safe_inverse
obvhs
0.3.0
In obvhs::
ray
obvhs
::
ray
Function
safe_
inverse
Copy item path
Source
pub fn safe_inverse(x:
f32
) ->
f32
Expand description
Computes the inverse of
x
avoiding division by zero.