Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Divides an XMVECTOR instance by a floating point value and returns a reference to the updated instance.
The operator /=
divides each component of the current instance of XMVECTOR Data Type by a specified floating point value, returning a reference to the updated current instance.
Syntax
XMVECTOR & operator/=(
XMVECTOR & V,
float S
) noexcept;
Parameters
V
Reference to current instance of XMVECTOR.
S
Floating point divisor.
Return value
Reference to the updated current instance of XMVECTOR.
Remarks
The following pseudocode demonstrates the operation of this operator:
XMVECTOR V;
V.x = V.x / S;
V.y = V.y / S;
V.z = V.z / S;
V.w = V.w / S;
Requirements
Requirement | Value |
---|---|
Header | directxmath.h |