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

Method cross

perro_source/core/perro_structs/src/structs/structs_3d/vector3.rs:211–213  ·  view source on GitHub ↗
(self, rhs: Self)

Source from the content-addressed store, hash-verified

209 /// Cross product returns a vector perpendicular to both inputs
210 #[inline]
211 pub fn cross(self, rhs: Self) -> Self {
212 Self::from_glam(self.to_glam().cross(rhs.to_glam()))
213 }
214
215 /// Squared length (avoids a sqrt when only comparing distances)
216 #[inline]

Callers 15

bench_vector2_bulk_opsFunction · 0.45
bench_vector3_bulk_opsFunction · 0.45
looking_atMethod · 0.45
from_mat4Method · 0.45
light_stable_axesFunction · 0.45
cross3Function · 0.45
build_query_mesh_dataFunction · 0.45
ray_intersect_triangleFunction · 0.45
solve_3dMethod · 0.45
occlusion_openness_3dMethod · 0.45
rotate_vec3Function · 0.45

Calls 1

to_glamMethod · 0.45

Tested by

no test coverage detected