Pbc.mic_vec: def of bend-prot@0.1.0.0 Import: import bend-prot@0.1.0.0/pbc.bend as Pbc Lines 16-19 of bend-prot@0.1.0.0/pbc.bend: https://jend.leeeet.dev/read.txt?path=bend-prot@0.1.0.0/pbc.bend&start_line=16&end_line=19 import Base import bend-prot@0.1.0.0/geom.bend as G def mic_vec(+d: G.Vec3, +box: G.Vec3) -> G.Vec3: match d box: case G.V3{+dx, +dy, +dz} G.V3{+lx, +ly, +lz}: G.V3{mic1d(dx, lx), mic1d(dy, ly), mic1d(dz, lz)} Uses (2): 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/pbc.bend&name=mic1d