factory Vec4d(double v1, double v2, double v3, double v4) { final p = calloc<cvg.Vec4d>() ..ref.val1 = v1 ..ref.val2 = v2 ..ref.val3 = v3 ..ref.val4 = v4; return Vec4d._(p); }