def Vec3.scale

bend-prot@0.1.0.0 · geom.bend:18

import bend-prot@0.1.0.0/geom.bend as Geom
import Base

18def Vec3.scale(+s: F32, +v: Vec3) -> Vec3:
19  match v:
20    case V3{+x, +y, +z}:
21      V3{(s * x : F32), (s * y : F32), (s * z : F32)}

Uses (3)

Used by (12)