Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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_strength
Function · 0.45
bench_vector3_bulk_ops
Function · 0.45
slerped
Method · 0.45
from_mat4
Method · 0.45
transform_from_matrix
Function · 0.45
water_chunk_visible
Function · 0.45
water_normalize_plane
Function · 0.45
gradient_color
Function · 0.45
queue_debug_line
Method · 0.45
normalize_plane
Function · 0.45
bounds_in_frustum
Function · 0.45
apply_local_color_bleed
Method · 0.45
Calls
1
to_glam
Method · 0.45
Tested by
no test coverage detected