Sim.sum_vels_ds: def of bend-prot@0.1.0.0 Import: import bend-prot@0.1.0.0/sim.bend as Sim Lines 81-88 of bend-prot@0.1.0.0/sim.bend: https://jend.leeeet.dev/read.txt?path=bend-prot@0.1.0.0/sim.bend&start_line=81&end_line=88 import Base import bend-prot@0.1.0.0/geom.bend as G def sum_vels_ds(ds: List<&2, DynAtom>) -> G.Vec3: match ds: case Nil{}: G.V3{0.0, 0.0, 0.0} case h <> t: match h: case DA{serial, elem, pos, vel, frc, mass}: G.Vec3.add(vel, sum_vels_ds(t)) Uses (4): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=List https://jend.leeeet.dev/definition.txt?path=bend-prot@0.1.0.0/geom.bend&name=Vec3 https://jend.leeeet.dev/definition.txt?path=bend-prot@0.1.0.0/geom.bend&name=Vec3.add https://jend.leeeet.dev/definition.txt?path=bend-prot@0.1.0.0/sim.bend&name=DynAtom