MCPcopy Create free account
hub / github.com/PerroEngine/Perro / length

Method length

perro_source/core/perro_structs/src/structs/structs_3d/vector3.rs:223–225  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

221 /// Magnitude (length) of the vector
222 #[inline]
223 pub fn length(&self) -> f32 {
224 self.to_glam().length()
225 }
226
227 /// Returns a new `Vector3` with length = 1 (same direction)
228 #[inline]

Callers 15

water_impact_strengthFunction · 0.45
bench_vector3_bulk_opsFunction · 0.45
slerpedMethod · 0.45
from_mat4Method · 0.45
transform_from_matrixFunction · 0.45
water_chunk_visibleFunction · 0.45
water_normalize_planeFunction · 0.45
gradient_colorFunction · 0.45
queue_debug_lineMethod · 0.45
normalize_planeFunction · 0.45
bounds_in_frustumFunction · 0.45

Calls 1

to_glamMethod · 0.45

Tested by

no test coverage detected