【发布时间】:2013-06-22 09:58:30
【问题描述】:
有什么好的方法可以转储 XMMATRIX 和 XMVECTOR 吗?
XMMATRIX mx = XMMatrixScaling(...) * XMMatrixTranslation(...);
DumpMatrix(mx); // printf the 4x4 matrix member
我想要DumpMatrix 喜欢的功能。
我检查了DirectMath.h。并找到了
typedef __m128 XMVECTOR;
如何从__m128中提取(x, y, z, w)?
【问题讨论】:
标签: directx directxmath