Module veloren_world::util::math

source ·

Functions§

  • Return a value between 0 and 1 corresponding to how close to the centre of range x is. The exact function used is left unspecified, but it shall have the shape of a bell-like curve. This function is required to return 0 (or a value extremely close to 0) when x is outside of range.