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