Anteckning
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
Computes the negation of an XMVECTOR instance.
The operator -
takes an instance of XMVECTOR Data Type and returns a new instance of XMVECTOR, with each component negated.
XMVECTOR XM_CALLCONV operator-(
FXMVECTOR V
) noexcept;
V
Vector whose components are to have their signs changed.
Vector whose components are the negation of V.
The following pseudocode demonstrates the operation of this operator:
XMVECTOR V;
XMVECTOR Vout;
Vout.x = - V.x;
Vout.y = - V.y;
Vout.z = - V.z;
Vout.w = - V.w;
Requirement | Value |
---|---|
Header | directxmath.h |