BendTensors.Vec4.Padded: def of bend-tensors@0.0.0.2 Import: import bend-tensors@0.0.0.2/bend_tensors.bend as BendTensors Lines 1562-1573 of bend-tensors@0.0.0.2/bend_tensors.bend: https://jend.leeeet.dev/read.txt?path=bend-tensors@0.0.0.2/bend_tensors.bend&start_line=1562&end_line=1573 import Base def Vec4.Padded(k: Nat, v: Vec4) -> Type: match k v: case 0n Vec4{x0, x1, x2, x3}: {x0 == 0.0 : F32} & {x1 == 0.0 : F32} & {x2 == 0.0 : F32} & {x3 == 0.0 : F32} case 1n Vec4{x0, x1, x2, x3}: {x1 == 0.0 : F32} & {x2 == 0.0 : F32} & {x3 == 0.0 : F32} case 2n Vec4{x0, x1, x2, x3}: {x2 == 0.0 : F32} & {x3 == 0.0 : F32} case 3n Vec4{x0, x1, x2, x3}: {x3 == 0.0 : F32} case _ _: Unit Uses (5): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=F32 https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Nat https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Pair https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Unit https://jend.leeeet.dev/definition.txt?path=bend-tensors@0.0.0.2/bend_tensors.bend&name=Vec4