def vv_scale_head

bend-prot@0.1.0.0 · sim.bend:117

import bend-prot@0.1.0.0/sim.bend as Sim
import Base
import bend-prot@0.1.0.0/geom.bend as G

117def vv_scale_head(h: DynAtom, lam: F32) -> DynAtom:
118  match h:
119    case DA{serial, elem, pos, vel, frc, mass}:
120      DA{serial, elem, pos, G.Vec3.scale(lam, vel), frc, mass}

Uses (3)

Used by (2)