TMathUtil::MinMax

Compute min and max of a,b,c with max 3 comparisons (sometimes 2)

Windows
MacOS
Linux

References

Module

GeometricObjects

Header

/Engine/Plugins/Experimental/GeometryProcessing/Source/GeometricObjects/Public/MathUtil.h

Include

#include "MathUtil.h"

Syntax

static void MinMax
(
    RealType A,
    RealType B,
    RealType C,
    RealType & MinOut,
    RealType & MaxOut
)

Remarks

Compute min and max of a,b,c with max 3 comparisons (sometimes 2)

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