def Vec3.sub

bend-prot@0.1.0.0 · geom.bend:13

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

13def Vec3.sub(+a: Vec3, +b: Vec3) -> Vec3:
14  match a b:
15    case V3{+ax, +ay, +az} V3{+bx, +by, +bz}:
16      V3{(ax - bx : F32), (ay - by : F32), (az - bz : F32)}

Uses (3)

Used by (9)