VectorSinCos

Computes the sine and cosine of each component of a Vector.

Windows
MacOS
Linux

References

Module

Core

Header

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

Include

#include "Math/UnrealMathDirectX.h"

Syntax

void VectorSinCos
(
    VectorRegister *RESTRICT VSinAngles,
    VectorRegister *RESTRICT VCosAngles,
    const VectorRegister *RESTRICT VAngles
)

Remarks

Computes the sine and cosine of each component of a Vector.

Parameters

Parameter

Description

VSinAngles

VectorRegister Pointer to where the Sin result should be stored

VCosAngles

VectorRegister Pointer to where the Cos result should be stored

VAngles

VectorRegister Pointer to the input angles

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