TSHVector::operator/=

In-place scalar division operator.

Windows
MacOS
Linux

References

Module

Core

Header

/Engine/Source/Runtime/Core/Public/Math/SHMath.h

Include

#include "Math/SHMath.h"

Syntax

TSHVector & operator/=
(
    const float & Scalar
)

Remarks

In-place scalar division operator. Changed to float& from float to avoid LHS Changed from (*this = *this * (1.0f/B);) to calculate here to avoid LHS Now this avoids TSHVector * operator thus LHS on *this as well as Result and LHS

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss