MCPcopy Create free account
hub / github.com/OxideEngine/Oxide / get_length

Method get_length

oxide_math/commons/vector3.rs:18–20  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

16 }
17
18 fn get_length(&self) -> f32 {
19 self.get_squared_length().sqrt()
20 }
21
22 fn normalize(&self) -> Self {
23 self.scale(self.get_length().recip())

Callers 6

get_lengthFunction · 0.45
get_lengthFunction · 0.45
get_lengthFunction · 0.45
normalizeMethod · 0.45
distanceMethod · 0.45
project_on_toMethod · 0.45

Calls 1

get_squared_lengthMethod · 0.45

Tested by 3

get_lengthFunction · 0.36
get_lengthFunction · 0.36
get_lengthFunction · 0.36