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

@@ -13,8 +13,8 @@ constexpr float PI = 3.14159265358979323846f;
```cpp
#include <XCEngine/Math/Math.h>
float circumference = 2.0f * Math::PI * radius;
float area = Math::PI * radius * radius;
float circumference = 2.0f * PI * radius;
float area = PI * radius * radius;
```
## 相关文档