Returns a point in barycentric coordinates, using the specified quaternions.
XMVECTOR XMQuaternionBaryCentricV(
XMVECTOR Q0,
XMVECTOR Q1,
XMVECTOR Q2,
GXMVECTOR F,
XMVECTOR G
)
Q0
Type: XMVECTOR
First quaternion in the triangle.
Q1
Type: XMVECTOR
Second quaternion in the triangle.
Q2
Type: XMVECTOR
Third quaternion in the triangle.
F
Type: GXMVECTOR
Weighting factor. All components of this vector must be the same.
G
Type: XMVECTOR
Weighting factor. All components of this vector must be the same.
Type: XMVECTOR
Returns a quaternion in barycentric coordinates.
The DirectXMath quaternion functions use an XMVECTOR 4-vector to represent quaternions, where the X, Y, and Z components are the vector part and the W component is the scalar part.
This function is identical to XMQuaternionBaryCentric except that F and G are supplied using a 4D vector instead of a float value.
Header: Declared in directxmath.h.