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