VectorUtil::VectorTanHalfAngle
Tan(theta/2) = +/- sqrt( (1-cos(theta)) / (1+cos(theta)) )
Module
|
GeometricObjects
|
Header
|
/Engine/Plugins/Experimental/GeometryProcessing/Source/GeometricObjects/Public/VectorUtil.h
|
Include
|
#include "VectorUtil.h"
|
namespace VectorUtil
{
template<typename RealType>
RealType VectorUtil::VectorTanHalfAngle
(
const FVector3< RealType > & A,
const FVector3< RealType > & B
)
}
Tan(theta/2) = +/- sqrt( (1-cos(theta)) / (1+cos(theta)) )
positive value of tan(theta/2) where theta is angle between normalized vectors A and B
Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.