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

Function sub3

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

Source from the content-addressed store, hash-verified

512
513#[inline]
514fn sub3(a: [f32; 3], b: [f32; 3]) -> [f32; 3] {
515 [a[0] - b[0], a[1] - b[1], a[2] - b[2]]
516}
517
518#[inline]
519fn scale3(v: [f32; 3], scale: f32) -> [f32; 3] {

Callers 2

push_triangleFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected