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

Function dot3

perro_source/core/perro_builtin_meshes/src/lib.rs:533–535  ·  view source on GitHub ↗
(a: [f32; 3], b: [f32; 3])

Source from the content-addressed store, hash-verified

531
532#[inline]
533fn dot3(a: [f32; 3], b: [f32; 3]) -> f32 {
534 a[0] * b[0] + a[1] * b[1] + a[2] * b[2]
535}
536
537#[inline]
538fn normalize3(v: [f32; 3]) -> [f32; 3] {

Callers 3

push_triangleFunction · 0.70
normalize3Function · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected