Module |
|
Header |
/Engine/Source/Runtime/Core/Public/Math/Vector.h |
Include |
#include "Math/Vector.h" |
Source |
/Engine/Source/Runtime/Core/Private/Math/UnrealMath.cpp |
Create an orthonormal basis from a basis with at least two orthogonal vectors. It may change the directions of the X and Y axes to make the basis orthogonal, but it won't change the direction of the Z axis. All axes will be normalized.
Parameter |
Description |
---|---|
XAxis |
The input basis' XAxis, and upon return the orthonormal basis' XAxis. |
YAxis |
The input basis' YAxis, and upon return the orthonormal basis' YAxis. |
ZAxis |
The input basis' ZAxis, and upon return the orthonormal basis' ZAxis. |