Skip to main content

normalize3

Function normalize3 

Source
pub fn normalize3(v: [f32; 3]) -> [f32; 3]
Expand description

A 3D vector scaled to length 1. A zero vector is returned as it is. The original’s version without the length calls the one with it.

Original: Math::Vector3::Normalize, Runtime 0x1800223c0.