Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/OxideEngine/Oxide
/ normalize
Method
normalize
oxide_math/commons/vector4.rs:23–25 ·
view source on GitHub ↗
(&self)
Source
from the content-addressed store, hash-verified
21
}
22
23
fn normalize(&self) -> Self {
24
self.scale(self.get_length().recip())
25
}
26
}
27
28
// impl vector::Rotate for Vector4 {
Callers
1
project_on_to
Method · 0.45
Calls
2
scale
Method · 0.45
get_length
Method · 0.45
Tested by
no test coverage detected