operator/= function (directxmath.h)
Divides one XMVECTOR instance by a second instance, returning a reference to the updated initial instance.
The operator /=
divides each component of the current instance of XMVECTOR Data Type by the corresponding component in a second specified instance of XMVECTOR, returning a reference to the updated initial instance.
Syntax
XMVECTOR &XM_CALLCONV operator/=(
XMVECTOR & V1,
FXMVECTOR V2
) noexcept;
Parameters
V1
Reference to current instance of XMVECTOR.
V2
XMVECTOR instance whose components are to be divisors.
Return value
Reference to the updated current instance of XMVECTOR containing the result of the division operation.
Remarks
The following pseudocode demonstrates the operation of this operator:
XMVECTOR V1;
XMVECTOR V2;
V1.x = V1.x / V2.x;
V1.y = V1.y / V2.y;
V1.z = V1.z / V2.z;
V1.w = V1.w / V2.w;
Requirements
Requirement | Value |
---|---|
Header | directxmath.h |
See also
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for