Share via


Quaternion.Subtract Method (Quaternion, Quaternion)

Subtracts a quaternion from another quaternion.

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

Syntax

public static Quaternion Subtract (
         Quaternion quaternion1,
         Quaternion quaternion2
)

Parameters

  • quaternion1
    Source quaternion.
  • quaternion2
    Source quaternion.

Return Value

Result of the subtraction.

See Also

Reference

Quaternion Structure
Quaternion Members
Microsoft.Xna.Framework Namespace

Platforms

Xbox 360, Windows XP SP2, Windows Vista