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

@@ -0,0 +1,24 @@
# Matrix3::RotationX
```cpp
static Matrix3 RotationX(float radians)
```
返回绕 X 轴旋转的 3x3 旋转矩阵。
**参数:**
- `radians` - 旋转角度(弧度)
**返回:** `Matrix3` - 绕 X 轴旋转的矩阵
**复杂度:** O(1)
**示例:**
```cpp
Matrix3 rotX = Matrix3::RotationX(Math::Radians(90.0f));
// 结果(绕 X 轴旋转 90 度):
// [1 0 0]
// [0 0 -1]
// [0 1 0]
```