mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
10 lines
184 B
V
10 lines
184 B
V
|
|
// normalize_vector Normalizes a vector
|
|
//
|
|
// Example:
|
|
// ```v
|
|
// vector := Vector{3, 4}
|
|
// normalize_vector(vector) // Vector{0.6, 0.8}
|
|
// ```
|
|
pub fn normalize_vector(vector f32) {}
|