Matrix4x4 Transpose() const
返回矩阵的转置。转置操作将矩阵的行和列互换。
参数: (无)
返回: 转置后的矩阵
线程安全: ✅
复杂度: O(n²) - O(16)
示例:
#include "XCEngine/Math/Matrix4.h" using namespace XCEngine::Math; Matrix4 m = Matrix4::Identity(); Matrix4 t = m.Transpose(); // 转置后仍为单位矩阵