MCPcopy Create free account
hub / github.com/Bloom-Engine/engine / dot

Function dot

native/shared/src/picking.rs:265–267  ·  view source on GitHub ↗
(a: &[f32; 3], b: &[f32; 3])

Source from the content-addressed store, hash-verified

263}
264
265fn dot(a: &[f32; 3], b: &[f32; 3]) -> f32 {
266 a[0]*b[0] + a[1]*b[1] + a[2]*b[2]
267}
268
269fn mat4_mul_vec4(m: &[[f32; 4]; 4], v: &[f32; 4]) -> [f32; 4] {
270 [

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected