def soa.place

gralha-coverage@0.1.0.1 · cover.bend:797

import gralha-coverage@0.1.0.1/cover.bend as Cover
import Base

797def soa.place(st: Array<F32> & (Array<U32> & Array<U32>), n: Nat, +i: U32, +h: U32) -> Array<F32> & (Array<U32> & Array<U32>):
798  (a, (starts, order)) = st
799  match n:
800    case 0n: (a, (starts, order))
801    case 1n+d: soa.place(soa.place.y0(Array.get(F32, a, (i * 4 + 1 : U32)), starts, order, i, h), d, (i + 1 : U32), h)

Uses (10)

Used by (1)