BEPUutilities.Quaternion.Add C# (CSharp) Method

Add() public static method

Adds two quaternions together.
public static Add ( &a, &b, &result ) : void
a First quaternion to add.
b Second quaternion to add.
result Sum of the addition.
return void
        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;
        }