Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/OxideEngine/Oxide
/ distance
Method
distance
oxide_math/commons/vector3.rs:66–68 ·
view source on GitHub ↗
(&self, _rhs: &Self)
Source
from the content-addressed store, hash-verified
64
65
impl vector::Distance for Vector3 {
66
fn distance(&self, _rhs: &Self) -> f32 {
67
(self - _rhs).get_length()
68
}
69
}
70
71
impl vector::Clamp for Vector3 {
Callers
6
distance1
Function · 0.45
distance2
Function · 0.45
distance1
Function · 0.45
distance2
Function · 0.45
distance1
Function · 0.45
distance2
Function · 0.45
Calls
1
get_length
Method · 0.45
Tested by
6
distance1
Function · 0.36
distance2
Function · 0.36
distance1
Function · 0.36
distance2
Function · 0.36
distance1
Function · 0.36
distance2
Function · 0.36