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

Function scale3

perro_source/core/perro_builtin_meshes/src/lib.rs:519–521  ·  view source on GitHub ↗
(v: [f32; 3], scale: f32)

Source from the content-addressed store, hash-verified

517
518#[inline]
519fn scale3(v: [f32; 3], scale: f32) -> [f32; 3] {
520 [v[0] * scale, v[1] * scale, v[2] * scale]
521}
522
523#[inline]
524fn cross3(a: [f32; 3], b: [f32; 3]) -> [f32; 3] {

Callers 4

sphereFunction · 0.85
push_triangleFunction · 0.85
normalize3Function · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected