public static void Add(ref Quaternion a, ref Quaternion b, out Quaternion result) { result.X = a.X + b.X; result.Y = a.Y + b.Y; result.Z = a.Z + b.Z; result.W = a.W + b.W; }