MCPcopy 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_toMethod · 0.45

Calls 2

scaleMethod · 0.45
get_lengthMethod · 0.45

Tested by

no test coverage detected