docs: update math API docs

This commit is contained in:
2026-03-20 02:35:15 +08:00
parent e165dbea1c
commit c5b17239ca
243 changed files with 5307 additions and 1327 deletions

View File

@@ -4,6 +4,8 @@
**类型**: `header`
**头文件**: `XCEngine/Math/Math.h`
**描述**: 数学库常量和辅助函数头文件。
## 概述
@@ -41,7 +43,7 @@ float angle = 90.0f * DEG_TO_RAD; // 90度转弧度
// 使用函数
float rad = Radians(180.0f); // 180度 -> π 弧度
float deg = Degrees(Math::PI); // π 弧度 -> 180度
float deg = Degrees(PI); // π 弧度 -> 180度
// 比较浮点数
if (fabsf(a - b) < EPSILON) {