BEPUutilities.Quaternion.Add C# (CSharp) 메소드

Add() 공개 정적인 메소드

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.
리턴 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;
        }