Fixed broken references: - texture-import-settings: Fix 16 files referencing wrong overview filename - math/rectint: Fix 9 method links (rectint-* → get*, contains, intersects) - rhi/opengl/device: Fix 8 cross-references (opengl-* → */**) - resources/mesh: Fix meshsection and vertexattribute links - rhi/d3d12/sampler: Fix RHISampler reference path - math/vector3: Fix projectonplane → project-on-plane - rhi/opengl/command-list: Remove broken ClearFlag enum ref - rhi/opengl/device: Create 2 new method docs (MakeContextCurrent, GetNativeContext) - rhi/device: Fix device-info types reference All 0 broken references remaining.
594 B
594 B
Matrix4x4::Determinant
float Determinant() const
计算矩阵的行列式。行列式为零的矩阵不可逆。
参数: (无)
返回: 矩阵的行列式值
线程安全: ✅
复杂度: O(n³) - O(64)
示例:
#include "XCEngine/Core/Math/Matrix4.h"
using namespace XCEngine::Math;
Matrix4 m = Matrix4::Identity();
float det = m.Determinant();
// det = 1.0f
Matrix4 singular;
float det2 = singular.Determinant();
// det2 = 0.0f