Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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_length
Function · 0.45
get_length
Function · 0.45
get_length
Function · 0.45
normalize
Method · 0.45
distance
Method · 0.45
project_on_to
Method · 0.45
Calls
1
get_squared_length
Method · 0.45
Tested by
3
get_length
Function · 0.36
get_length
Function · 0.36
get_length
Function · 0.36