Share via


Quaternion.Subtract Method (Quaternion, Quaternion, Quaternion)

Subtracts a quaternion from another quaternion.

Namespace: Microsoft.Xna.Framework
Assembly: Microsoft.Xna.Framework (in microsoft.xna.framework.dll)

Syntax

public static void Subtract (
         ref Quaternion quaternion1,
         ref Quaternion quaternion2,
         out Quaternion result
)

Parameters

  • quaternion1
    Source quaternion.
  • quaternion2
    Source quaternion.
  • result
    [OutAttribute] Result of the subtraction.

See Also

Reference

Quaternion Structure
Quaternion Members
Microsoft.Xna.Framework Namespace

Platforms

Xbox 360, Windows XP SP2, Windows Vista