nyx_space::utils# Function normalize

source `pub fn normalize(x: f64, min_x: f64, max_x: f64) -> f64`

## Expand description

Normalize a value between -1.0 and 1.0

## §Arguments

`x`

- The value to be normalized.
`min_x`

- The minimum value in the range of `x`

.
`max_x`

- The maximum value in the range of `x`

.

## §Returns

A normalized value between -1.0 and 1.0.