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

Interface Length

oxide_math/commons/vector.rs:24–28  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

22}
23
24pub trait Length {
25 fn get_squared_length(&self) -> f32;
26 fn get_length(&self) -> f32;
27 fn normalize(&self) -> Self;
28}
29
30pub trait Distance {
31 fn distance(&self, _rhs: &Self) -> f32;

Callers

nothing calls this directly

Implementers 3

vector3.rsoxide_math/commons/vector3.rs
vector4.rsoxide_math/commons/vector4.rs
vector2.rsoxide_math/commons/vector2.rs

Calls

no outgoing calls

Tested by

no test coverage detected