Sim.add_forces: def of bend-prot@0.1.0.0 Import: import bend-prot@0.1.0.0/sim.bend as Sim Lines 158-167 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=158&end_line=167 import Base import bend-prot@0.1.0.0/geom.bend as G def add_forces(a: List<&2, G.Vec3>, b: List<&2, G.Vec3>) -> List<&2, G.Vec3>: match a b: case Nil{} Nil{}: Nil{} case Nil{} bh <> bt: Nil{} case ah <> at Nil{}: Nil{} case ah <> at bh <> bt: G.Vec3.add(ah, bh) <> add_forces(at, bt) Uses (3): 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