MCPcopy 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
65impl vector::Distance for Vector3 {
66 fn distance(&self, _rhs: &Self) -> f32 {
67 (self - _rhs).get_length()
68 }
69}
70
71impl vector::Clamp for Vector3 {

Callers 6

distance1Function · 0.45
distance2Function · 0.45
distance1Function · 0.45
distance2Function · 0.45
distance1Function · 0.45
distance2Function · 0.45

Calls 1

get_lengthMethod · 0.45

Tested by 6

distance1Function · 0.36
distance2Function · 0.36
distance1Function · 0.36
distance2Function · 0.36
distance1Function · 0.36
distance2Function · 0.36