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